How Compilers Work: From Source Code to Machine Code
The distance between the code you write and the instructions a processor runs is enormous. A compiler crosses it through a pipeline of small translations, each one a little closer to the hardware. Here is what happens at every stage, including the two steps everyone forgets.
