HN Hall of Fame Weekly email

The Art of Picking Intel Registers (2003)

www.swansontec.com Books & learning Tutorials & guides Hardware & electronics Candidate
Screenshot of www.swansontec.com captured 2026-07-20
Page preview · captured 2026-07-20

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

submissions
12
submitters
4
observed span
2009–2025
peak thread · 55 comments
133 pts
latest 20+ return · 2021-02-07
78 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

>"There are three major processor architectures: register, stack, and accumulator. In a register architecture, operations such as addition or subtraction can occur between any two arbitrary registers. In a stack architecture, operations occur between the top of the stack and other items on the stack. In an accumulator architecture, the processor has single calculation register called the accumulator." I have only ever seen register and stack used to distinguish between a virtual machine implementation - i.e a…

Oh this fills me with a mix of nostalgia and dread. The first time I saw a 'flat' instruction set such as MIPS and ARM, with a large file of registers that are treated the same, was really refreshing.

> Using registers according to Intel's original plan allows the code to take full advantage of these optimizations. Unfortunately, this seems to be a lost art. Few coders are aware of Intel's overall design, and most compilers are too the simplistic or focused on execution speed to use the registers properly. Note carefully that the context here is size optimisation only. When they talk about 'optimised' they just mean smaller code. The advice is pre-historic and counter-productive for all other…

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
306

reference only — not used in Hall rules or ranking

Total comments
126

reference only — not used in Hall rules or ranking

Every submission