Re:The lost malloc()
by warmwaffles on Wednesday November 04, 2026 @09:57AM
(#50366437)
Arena/linear allocators have their place. In real-time systems they are fantastic to reset quickly and bypass having to interact with the kernel.
Also 'arena allocators' (this meant something different like 20 years ago so I think the name just got rebranded) are not that good, they make some things easier and improve performance sometimes, they also are liable to use more memory and cause more fragmentation if not used with care. That is one of the many reasons why we slowly evolved away from the old linear allocators, but also because we just wanted a simple and flexible interface to hide complexity.