Garbage Collection for Systems Programmers

Julian Fondren julian.fondren at gmail.com
Sun Apr 7 04:53:30 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`.

This seems like an interesting benchmark. Can you post it 
somewhere?


More information about the Digitalmars-d mailing list