HN Hall of Fame Weekly email

Software optimization resources

www.agner.org Reference Curated collections & archives Software engineering Candidate
Screenshot of www.agner.org captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 9 calendar years, with breakout response in 2 of them.

submissions
17
submitters
17
observed span
2010–2025
peak thread · 22 comments
172 pts
latest 20+ return · 2022-07-19
20 pts

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.

First comments on top threads

HN comment order

From my experience the greatest optimization gains can be achieved by introducing more domain knowledge into the code. Heuristics that cut the number of executions of some expensive function, shortcuts that introduce good enough approximations, pre-computing and memoizing certain values that are actually constant in the processed data. Things like that. And in programs that had never been optimized it's usually very easy to fire up the profiler and find some obviously terrible things. Like reinitializing in a…

H8crilA·172-point thread·

Anger knows more about Intel and AMD microarchitecture than anyone else I'm aware of who's allowed to write about it freely. His guides, especially his microarchitecture and instruction timing documents, are superb resources that anyone serious about low-level optimization should have on hand.

From the first guide (talking about Java and C#): "The time it takes to load the framework and compile the program are often much more than the time it takes to execute the program, and the runtime framework may use more resources than the program itself when running. Programs using such a framework sometimes have unacceptably long response times for simple tasks like pressing a button or moving the mouse." When efficiency is important, the startup time of the VM…

quonn·61-point thread·

Once we have nice RISC-V µ-architectures out there, I hope we get the same type of resources for them.

sylware·4-point thread·

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.

Breakout years
2

100+ points or 50+ comments

Total points
408

reference only — not used in Hall rules or ranking

Total comments
30

reference only — not used in Hall rules or ranking

Every submission