Garbage Collection for Systems Programmers
Carl Sturtivant
sturtivant at gmail.com
Sat Apr 6 15:52:21 UTC 2024
On Saturday, 6 April 2024 at 14:53:09 UTC, Sergey wrote:
> On Saturday, 6 April 2024 at 10:52:04 UTC, Ogi wrote:
>> I wrote a small script that simulates a video game. A game
>> scene contains around ten thousand objects, and on every
>> update it creates some new objects and destroys some old ones.
>> It runs for 36,000 iterations (simulating 10 minutes of
>> exciting 60 FPS gameplay) and measures minimum, mean and
>> maximum time per update. One version uses GC, the other uses
>> `malloc`/`free`.
>
> Very similar test..
> D with LDC showed more FPS than Rust and C++ :P
> https://github.com/NCrashed/asteroids-arena
This is all very well, but this side thread is conflating the
existing GC with the one we are postulating for D that would be
the game changer, with performance as per the article linked when
this thread was started.
More information about the Digitalmars-d
mailing list