
Engineering a compiler
Keith D. Cooper · 2004
Programming and computer science › Compilers and interpreters
#550 most recommended
Hacker News
91
mentions by 71 people · top 4% of 15,732 books
Open Library
—
No ratings yet
11 want to read
Wikipedia
—
No article yet
About the book
A textbook on compiler construction that covers the full pipeline, from scanning and parsing through intermediate representations and semantic analysis, then optimization (including data-flow analysis and static single assignment form), and finally code generation, instruction scheduling, and register allocation. It treats these as practical engineering problems and presents the algorithms alongside their implementation considerations. The book's central claim is that compiler design is a choice among alternatives, not a search for one correct method. Each technique is presented with the constraints that make it attractive, such as target architecture, code size, compile time, or power, so readers can see why a given design fits a given setting. It holds that algorithmic knowledge must be combined with engineering judgment and careful planning, and that the consequences of these choices are often subtle and far-reaching.
Written by Claude from what it knows of this book.
What Hacker News says 55% recommend · 7% critical
In the commenters’ own words
As others have pointed out, more background on what your current skillset would make it easier to give advice, I’ll share my journey though. My bonafides: I’m…
Ah, sorry, I should probably clarify that there are two completely distinct uses of the term "interval" in data flow analysis. One (introduced in…
What Open Library readers say
No Open Library reader has rated it yet.
- 11 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
- Ask HN: What language-agnostic programming books should I read?
- Ask HN: What's the best computer science book you've read recently?
- Ask HN: What technical books are you reading?
- Ask HN: What are your favorite programming books?
- Ask HN: Which compiler book to pick?
- Tell HN: The dragon compiler book (2nd edition) is a great book
- Ask HN: What are the best books on creating a programming language?
- Ask HN: Best book about compilers?
Details
- First published
- 2004
- ISBN
- 9780120884780
- Editions known
- 4 at Open Library
- Open Library
- OL5745913W
Compilers (Computer programs)Compiling (electronic computers)DevelopmentÜbersetzerbau
Read next: its neighbours on the mosaic
Optimizing compilers for modern architecturesRandy Allen · 2002 · recommended by 3 people · named together in 3 comments
Advanced compiler design and implementationSteven S. Muchnick · 1997 · recommended by 13 people · 4 people recommended both
Modern compiler designDick Grune · 2000 · recommended by 12 people · 3 people recommended both
Modern compiler implementation in MLAndrew W. Appel · 1997 · recommended by 24 people · 3 people recommended both
Programming Language PragmaticsMichael L. Scott · 1999 · recommended by 31 people · 4 people recommended both
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 people · 9 people recommended both
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · 4 people recommended both
Basics of compiler designTorben ©. Mogensen · 2010 · recommended by 4 people · 2 people recommended both
Concepts, techniques, and models of computer programmingPeter Van Roy · 2004 · recommended by 70 people · 5 people recommended both
Compiling with ContinuationsAndrew W. Appel · 1992 · recommended by 19 people · named together in 3 comments
Design concepts in programming languagesFranklyn A. Turbak · 2008 · recommended by 7 people · 2 people recommended both
Types and Programming LanguagesBenjamin C. Pierce · 2002 · recommended by 132 people · 6 people recommended both
The Design of an optimizing compilerWilliam Allan Wulf · 1975 · recommended by 1 person · similar by subject and what people say about it
SSA-Based Compiler DesignFabrice Rastello · 2021 · recommended by 3 people · similar by subject and what people say about it
Algorithms in a nutshellGeorge T. Heineman · 2008 · recommended by 12 people · 2 people recommended both
Linkers and loadersJohn R. Levine · 1999 · recommended by 29 people · 3 people recommended both
Compiler constructionNiklaus Wirth · 1996 · recommended by 30 people · 2 people recommended both
Little ProverDaniel P. Friedman · 2015 · recommended by 9 people · 2 people recommended both
Purely functional data structuresChris Okasaki · 1998 · recommended by 87 people · 3 people recommended both
Principles of program analysisFlemming Nielson · 1999 · recommended by 7 people · named together in 2 comments
The Implementation of Functional Programming LanguagesSimon L. Peyton Jones · 1987 · recommended by 22 people · named together in 2 comments
Essentials of programming languagesDaniel P. Friedman · 1992 · recommended by 43 people · named together in 3 comments
Modern compiler implementation in CAndrew W. Appel · 2004 · recommended by 8 people · similar by subject and what people say about it
Project OberonNiklaus Wirth · 1992 · recommended by 30 people · 2 people recommended both