Hacker News new | ask | show | jobs
by tsimionescu 1373 days ago
In principle, with arena allocation you don't need to care about ownership at all, or at least you only care about it at the arena boundary.
1 comments

If you're working on a nice code base that has a very clean boundary across teams and infrastructures, have the arena boundary follow that principle and the system has relatively straightforward lifetime and ownership, then yes. Obviously this is not true for so-called "large scale software systems". Have you tried to bounce objects across arenas thanks to all the teams that wanted to "optimize" and "simplify" their memory allocation? Good luck with debugging that.