Why I Write Games in C (yes, C)
&gt; The stop-the-world garbage collection is a big pain for games, stopping the world is something you can&#x27;t really afford to do.<p>I love this opinion from games programmers because they never qualify it and talk about what their latency budgets are and what they do in lieu of a garbage collector. They just hand wave and say &quot;GC can&#x27;t work&quot;. The reality is you still have to free resources, so it&#x27;s not like the garbage collector is doing work that doesn&#x27;t need to be done. What latency budgets are you working with? How often do you do work to free resources? What are the latency requirements there? Even at 144 fps, that&#x27;s 7ms per frame. If you have a garbage collector that runs in 200us, you could run a GC on every single frame and use less than 3% of your frame budget on the GC pause. I&#x27;m -not- suggesting that running a GC on every frame is a good idea or that it should be done, but what I find so deeply frustrating is that the argument that GC can&#x27;t work in a game engine is never qualified.<p>edit: wow for once the replies are actually good, very pleased with this discussion.