Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,834 posts.

Software Engineering
Any year
11798

How an Optimizing Compiler Works

Optimizing compilers are a mainstay of modern software: allowing a programmer to write code in a language that makes sense to them, while transforming it into a form that makes sense for the underlying hardware to run efficiently. The optimizing compiler's job is to figure out what your input program does, and create…