Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: