HN Hall of Fame Weekly email

What every programmer should know about memory [pdf]

people.freebsd.org Books & learning Tutorials & guides Hardware & electronics Candidate
Screenshot of people.freebsd.org captured 2026-07-20
Page preview · captured 2026-07-20

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

Top comments

https://stackoverflow.com/questions/8126311/how-much-of-what... Discussion of it in slightly more modern context, worth looking at.

harry8·203-point thread·

This is an incredibly useful guide, but it starts out with transistor level stuff that I at least find much less relevant. The good stuff starts at section 3, CPU Caches.

Here's a good companion piece that focuses on CPU features rather than memory: "What's new in CPUs since the 80s and how does it affect programmers?"[0] [0]: https://danluu.com/new-cpu-features/

lj3·87-point thread·

This comes up over and over. It's great. But, the 75% of useful content comes after 25% of diving way too deep into the details of the electrical engineering. "Every programmer" should know the orders of magnitude of cache hierarchy latencies, how RAM loads a whole cache line to service that single byte you requested, roughly how the automatic prefetcher thinks, that MESI and NUMA access are a growing issue, that the TLB cache is a thing, and generally how…

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

HN stats

Breakout years
2

100+ points or 50+ comments

Total points
552

reference only — not used in Hall rules or ranking

Total comments
107

reference only — not used in Hall rules or ranking

Every submission