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

> synchronising shared memory is a massive source of complexity and stalls in modern processors

Correct.

> making lots of copies is supposed to be a bad thing from a hardware perspective

Yes, because memory accesses are costly. You want your data to be packed tightly in memory instead of chasing pointers all the time. An array is more efficient than a linked list mostly due to caches.

The balance is key. You want one copy per core, but not one copy per data update.



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

Search: