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

Programmers for some reason really don't understand that generational garbage collection provides locality. I am really surprised how often I see C/C++/Rust types not understand this.



I think that only applies to a moving GC. A conservative GC (like the Boehm GC for C) doesn't move any items around, and thus doesn't do anything for locality.

Of course, even a moving GC has limits, itwon't turn a hashtable into something that has local accesses.




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

Search: