Garbage Collection for Systems Programmers
Sergey
kornburn at yandex.ru
Sat Apr 6 14:53:09 UTC 2024
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
More information about the Digitalmars-d
mailing list