Garbage Collection for Systems Programmers
Ogi
ogion.art at gmail.com
Sat Apr 6 21:04:03 UTC 2024
On Saturday, 6 April 2024 at 14:53:09 UTC, Sergey wrote:
> Very similar test..
> D with LDC showed more FPS than Rust and C++ :P
> https://github.com/NCrashed/asteroids-arena
This thing barely uses GC. It implements ECS architecture: all
game entities are split into small components which are in
separate arrays in a manner of an object pool pattern. And it
utilizes `std.container.Array` to avoid GC.
Object pool may be good for performance, but’s also a form of
manual memory management and therefore haram. GC bros want us to
“just use GC”.
More information about the Digitalmars-d
mailing list