News for hackers. Stuff that matters.
Re:Why I Write Games in C (yes, C) by theresistor on Saturday September 21, 2019 @09:05PM (#21038966)
It’s just a variation of arena allocation. You allocate everything for the current frame in an arena. When the frame is complete. You free the entire arena, without needing any heap walking.

A generational GC achieves a similar end result, but has to heuristically discover the generations, whereas an arena allocator achieves the same result deterministically And without extra heap walking.

There are no comments on this comment yet.