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

> linked lists aren’t useful on modern systems because traversing them causes to many cache misses

Only if you "default to using" (and only use) malloc. Zig encourages you to use different allocators within the same program for different use cases, including, potentially allocators which will thrash the cache far less (for example thread local arenas).



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

Search: