Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I didn't understand that blog post very well, but it made me think of "generational arenas"[0], and I'm curious how they compare? Generational arenas sound similar because they involve passing an index around instead of a pointer, are designed to handle many small self referencing "objects", and are popular in games, so in my mind they seemed similar.

[0]: https://docs.rs/generational-arena/latest/generational_arena...




Same idea but applied to the whole program and with compiler optimizations to avoid redundant generation checks.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: