
Essentials of Compilation
Jeremy G. Siek · 2023
Programming and computer science › Compilers and interpreters
#1,667 most recommended
Hacker News
32
mentions by 25 people · top 11% of 15,732 books
Open Library
—
No ratings yet
2 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
# Programming "A Data-Centric Introduction to Computing" https://dcic-world.org/ # Programming Language Theory "Programming Languages: Application and…
Compilers books: I'd start with "Engineering a Compiler" by Keith Cooper and Linda Torczon. http://craftinginterpreters.com/ is also a pretty great…
What Open Library readers say
No Open Library reader has rated it yet.
- 2 want to read
- 0 reading
- 0 have read
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
Read next: its neighbours on the mosaic
SSA-Based Compiler DesignFabrice Rastello · 2021 · recommended by 3 people · similar by subject and what people say about it
Structure and Interpretation of Computer ProgramsHarold Abelson · 1984 · recommended by 347 people · 4 people recommended both
Elements of programming interviews in PythonAdnan Aziz · 2017 · recommended by 4 people · similar by subject and what people say about it
Operating system design, the Xinu approachDouglas E. Comer · 1984 · recommended by 8 people · similar by subject and what people say about it
Literate programmingDonald Knuth · 1992 · recommended by 18 people · similar by subject and what people say about it
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 people · 3 people recommended both
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · named together in 2 comments
Modern compiler implementation in MLAndrew W. Appel · 1997 · recommended by 24 people · similar by subject and what people say about it
Engineering a compilerKeith D. Cooper · 2004 · recommended by 39 people · similar by subject and what people say about it
Writing a C CompilerNora Sandler · 2023 · recommended by 7 people · similar by subject and what people say about it
Reverse Engineering for BeginnersDennis Yurichev · 2013 · recommended by 23 people · 2 people recommended both
The seasoned schemerDaniel P. Friedman · 1995 · recommended by 33 people · 2 people recommended both
How to Design ProgramsMatthias Felleisen · 2001 · recommended by 277 people · 3 people recommended both
The Little SchemerDaniel P. Friedman · 1995 · recommended by 288 people · 3 people recommended both
Practical Common LispPeter Seibel · 2005 · recommended by 218 people · 2 people recommended both
Modern X86 Assembly Language ProgrammingDaniel Kusswurm · 2018 · recommended by 2 people · loosely similar by subject
C++ PrimerStanley B. Lippman · 1989 · recommended by 53 people · 2 people recommended both
School of Niklaus WirthLászló Böszörményi · 2000 · recommended by 6 people · similar by subject and what people say about it
Introduction to the theory of computationMichael Sipser · 1997 · recommended by 66 people · 2 people recommended both
Thinking ForthLeo Brodie · 1984 · recommended by 77 people · 2 people recommended both
The Haskell Road To Logic, Maths And ProgrammingJan van Eijck · 2004 · recommended by 13 people · similar by subject and what people say about it
C Concurrency in ActionAnthony Williams · 2012 · recommended by 14 people · 2 people recommended both
Writing A Compiler In GoThorsten Ball · 2018 · recommended by 33 people · similar by subject and what people say about it
Realm of RacketForrest Bice · 2013 · recommended by 37 people · similar by subject and what people say about it