DeepRead
Cover of Essentials of Compilation

Essentials of Compilation

Jeremy G. Siek · 2023

Programming and computer science › Compilers and interpreters

#1,667 most recommended

About the book

The book builds a compiler step by step, starting from a small language of integer arithmetic and adding variables, conditionals, loops, functions, and heap-allocated data at each stage. It targets x86-64 assembly and concentrates on the back end, covering intermediate representations, instruction selection, liveness analysis, and register allocation, while skipping parsing by working from programs already read as S-expressions. Its central claim is that a compiler can be learned as a sequence of small, testable increments, where each one adds a language feature together with the passes needed to compile it, so the full pipeline grows from a manageable core. It presents each stage as a translation between intermediate languages that can be checked against an interpreter, and it gives the most attention to the back end, where register allocation and runtime support carry most of the design work.

Written by Claude from what it knows of this book.

What Hacker News says 68% recommend · 0% critical

05102016202020262025 peak · 7
This bookAverage book in Compilers and interpreters

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 2 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2023
ISBN
9780262048248
Editions known
6 at Open Library
Open Library
OL28127919W

Explore in the mosaic

Read next: its neighbours on the mosaic