r/programming • u/TheFlyingCoderr • Jul 13 '23
What Every Programmer Should Know About Memory
https://people.freebsd.org/~lstewart/articles/cpumemory.pdfThis resource is starting to get a bit older. But it's such a good resource for learning about memory.
Hope you like it (it's a pdf)
296
Upvotes
View all comments
Show parent comment
33
u/exex Jul 13 '23
He was the main glibc maintainer and working for Red Hat back when he wrote this. But if I remember the text correct (been a few years...) a lot of information in there is about how the hardware works. Like how memory is always copied with 64 byte lines to the cache and implications of that on speed. Which will also be true on other OSes.