# Engineering a Compiler by Cooper and Torczon

6 Hacker News commenters recommended Engineering a Compiler by Cooper and Torczon and 0 criticized it, November 2025 to November 2026. It was recommended in 3 of 13 months.

**Verdict:** Recommended for clear, academic-quality explanations of compiler topics, especially SSA treatment and optimization chapters.

## Why people recommend it

- Clear explanations across chapters (2 comments): "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." ([source](https://news.ycombinator.com/item?id=47907801)) "The first few chapters were great" ([source](https://news.ycombinator.com/item?id=47785872))
- Strong SSA and optimization coverage (2 comments): "familiarize yourself with the Optimization chapters" ([source](https://news.ycombinator.com/item?id=47106774)) "The book is famous for its SSA treatment." ([source](https://news.ycombinator.com/item?id=47782887))

## Alternatives hackers recommend

- [Compilers: Principles, Techniques, and Tools by Aho, Sethi and Ullman](https://hackerapproved.com/p/compilers-principles-techniques-and-tools.md): 23 recommend
- [Modern Compiler Implementation by Andrew Appel](https://hackerapproved.com/p/modern-compiler-implementation.md): 9 recommend
- [Writing a C Compiler by Nora Sandler](https://hackerapproved.com/p/writing-a-c-compiler.md): 8 recommend
- [Compiler Construction by Niklaus Wirth](https://hackerapproved.com/p/compiler-construction.md): 4 recommend
- [Essentials of Compilation by Siek](https://hackerapproved.com/p/essentials-of-compilation.md): 4 recommend

## Where to get it

- [See price on Amazon](https://www.amazon.com/dp/0128189266?tag=hackerapprove-20) (affiliate link)
- [Bookshop.org](https://bookshop.org/a/130825/9780128189269) (affiliate link)

## Cite as

Hacker Approved, "Engineering a Compiler by Cooper and Torczon", https://hackerapproved.com/p/engineering-a-compiler/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
