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

This is well known to be solved by using generational indexes. Its not a big deal. The author's entire post is an overreaction/rage-bait.

Basically any data structure like this where you want it relocatable in memory is going to use indirection like indexes or something instead of pointers. Its a very common use case outside of rust.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: