flâneur — a map of the web's best reading

Many can write faster asm than the compiler, yet don't. Why? — LessWrong

lesswrong.com · 3,293 words · saved by 1 readers

It used to be the case that you had to write assembly to make computers do things, but then compilers came along. Now we have optimizing compilers, and those optimizing compilers can write assembly better than pretty much any human. Because of that, basically nobody writes assembly anymore. The same is about to be true of regular programming. I 85% agree with this take. However, I think there's one important inaccuracy: even today, finding places where your optimizing compiler failed to produce optimal code is often pretty straightforward, and once you've identified those places 10x+ speedups for that specific program on that specific hardware is often possible[1]. The reason nobody writes assembly anymore is the difficulty of mixing hand-written assembly with machine-generated assembly. The issue is that it's easy to have the compiler write all of the assembly in your project, and it's easy from a build perspective to have the compiler write none of the assembly in your project, but h

x Many can write faster asm than the compiler, yet don't. Why? — LessWrong Programming AI World Modeling Frontpage 77 Many can write faster asm than the compiler, yet don't. Why? by faul_sname 30th Dec 2025 4 min read 18 77 There's a take I've seen going around, which goes approximately like this: It used to be the case that you had to write assembly to make computers do things, but then compilers came along. Now we have optimizing compilers, and those optimizing compilers can write assembly better than pretty much any human. Because of that, basically nobody writes assembly anymore. The same

Explore this link on the map →

saved by

related reading