7 comments

[ 6.7 ms ] story [ 20.1 ms ] thread
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.
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...

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... ?
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.
99% of the time 95% of professional programmers never need to think about memory.