Hacker News new | past | comments | ask | show | jobs | submit login
[dupe] What every programmer should know about memory [pdf] (gwern.net)
33 points by todsacerdoti 22 days ago | hide | past | favorite | 7 comments



If interested in details like this, this book [1] is amazing. I'm not sure every programmer needs to dig this deep, but it has been handy to know some of these details for systems engineering/sre work. It's a very thorough book but I think he is very pragmatic in the way he discusses the topics. It's definitely in my top 5 of comp sci books.

[1] http://www.brendangregg.com/blog/2020-07-15/systems-performa...



Going to be sure to get the kids to review this 114 page pdf before their scratch lessons.


I think 'programmer' in the title is intended to mean professional programmer - someone who does it for money.


How much have changed since 2007? CPUs are more and more parallel, GPU have taken a big role in computations with specific memory types, etc... ?


99% of the time 95% of professional programmers never need to think about memory.


I read this 8 months ago, and forgot most of the technical details except that to use memory efficiently, you have to make good use of spatial and temporal locality.




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

Search: