3 ms·
What every programmer should know about memory [pdf]
- totetsu 5y agoGoing to be sure to get the kids to review this 114 page pdf before their scratch lessons.
- tuatoru 5y agoI think 'programmer' in the title is intended to mean professional programmer - someone who does it for money.
- lstamour 5y ago(2007) Past: https://news.ycombinator.com/item?id=25908018 https://news.ycombinator.com/item?id=25908018 https://news.ycombinator.com/item?id=3919429 https://news.ycombinator.com/item?id=3919429 https://news.ycombinator.com/item?id=19302299 https://news.ycombinator.com/item?id=19302299 https://news.ycombinator.com/item?id=1511990 https://news.ycombinator.com/item?id=1511990 … and more https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=What%20every%20programmer%20should%20know%20about%20memory&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
- bostonsre 5y agoIf 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-performance-2nd-edition.html http://www.brendangregg.com/blog/2020-07-15/systems-performa...
- Qu3tzal 5y agoHow much have changed since 2007? CPUs are more and more parallel, GPU have taken a big role in computations with specific memory types, etc... ?
- howtofly 5y agoI 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.
- BrissyCoder 5y ago99% of the time 95% of professional programmers never need to think about memory.