News for hackers. Stuff that matters.
Re:Cheating the Reaper in Go by fmstephe on Thursday April 24, 2025 @06:19AM (#43780992)
For the problems that arena allocators solve, relatively short lived allocations which die soon, yes. A generational collector would allow for faster allocation rates (a thread local bump allocator would become easy to use).

But very long lived data structures, like caches and in memory databases still need to be marked during full heap garbage collection cycles. These are less frequent with a generational collector though.

There are no comments on this comment yet.