Engineering a Compiler
Engineering a Compiler by Cooper and Torczonby Cooper and Torczon
Ranked 4 of 9 compiler textbooks by recommenders
Recommended for clear, academic-quality explanations of compiler topics, especially SSA treatment and optimization chapters.
Recommended for clear, academic-quality explanations of compiler topics, especially SSA treatment and optimization chapters.
6 people gave an opinion
- recommend it
- 6
- criticize it
- 0
- approval share
- 100%
Recommended in 3 of 13 months
- November 2025: recommended
- December 2025: not recommended
- January 2026: not recommended
- February 2026: recommended
- March 2026: not recommended
- April 2026: recommended
- May 2026: not recommended
- June 2026: not recommended
- July 2026: not recommended
- August 2026: not recommended
- September 2026: not recommended
- October 2026: not recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 6 people recommend itNeeds 10 or more, not met.
- Nobody criticizes itNeeds 2 to 1 or better, met.
- Recommended in 3 of 13 monthsNeeds 4 or more, not met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Clear explanations across chapters
“It gives context on each topic, explains them clearly, and at the same time, I think, it is a really good resource from an academic point of view.”
Comment from 26 Apr 2026 in “Want to Write a Compiler? Just Read These Two Papers (2008)” “The first few chapters were great”
Comment from 15 Apr 2026 in “Want to Write a Compiler? Just Read These Two Papers (2008)” Strong SSA and optimization coverage
“familiarize yourself with the Optimization chapters”
Comment from 22 Feb 2026 in “I Don't Like Magic” “The book is famous for its SSA treatment.”
Comment from 15 Apr 2026 in “Want to Write a Compiler? Just Read These Two Papers (2008)”
Other compiler textbooks people recommend
The four most recommended other compiler textbooks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| Compilers: Principles, Techniques, and Toolsby Aho, Sethi and Ullman | 23 | 17 | 58% | 9 | — | — |
| Modern Compiler Implementationby Andrew Appel | 9 | 0 | 100% | 4 | — | — |
| Writing a C Compilerby Nora Sandler | 8 | 2 | 80% | 8 | — | — |
| Engineering a Compilerby Cooper and TorczonThis page | 6 | 0 | 100% | 3 | — | — |
| Compiler Constructionby Niklaus Wirth | 4 | 0 | 100% | 3 | — | — |
What people said
5 of the 6 comments that mention it, newest first. Each links to the original comment.
“It gives context on each topic, explains them clearly, and at the same time, I think, it is a really good resource from an academic point of view.”
“The first few chapters were great”
“The book is famous for its SSA treatment.”
“familiarize yourself with the Optimization chapters”
“The book is perfectly fine for the first use case, and never claims to touch upon the latter.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.