6 ms·
I generally agree with what you wrote but have some corections based on having worked with arena allocators. 4. Nothing prevents arena allocators to track othe
by jeltz 4y ago
I generally agree with what you wrote but have some corections based on having worked with arena allocators.
4. Nothing prevents arena allocators to track other resources than memory.
7. This is not a big problem in practice from my experience. You can just do like Zig and always pass an allocator or you can use global/thread local variables like PostgreSQL.
But I also would like to add my biggest issue with arena allocators: they do nothing against use after free.