Ask HN: Books to read to become a better C programmer on modern hardware
I write mostly C and realize there is a lot I don't know about how the underlying hardware deals with the code - cache comes up a lot.
What are some references that can help me get a better grasp on topics like this, with respect to modern hardware?
2 comments
[ 5.3 ms ] story [ 16.5 ms ] threadThere is an ARM edition of COAD but there isn't an edition for x86. If you could wait for the next edition of the ARM book, it would be good since the 1st was evidently rushed. Read chapters 1, 5 and 6 but spend a lot of time on chapter 5, Large and Fast: Exploiting Memory Hierarchy.