Back to the bookshelf

Typographic jacket · original cover not fetched

FROM THE SHARED SHELF · 2006–2026 SAMPLE

Engineering a Compiler

Keith D. Cooper and Linda Torczon

5 readers recommend it across 3 discussions

Topics are model-inferred labels.

Keep it on your reading list

THE WORD OF MOUTH

What made it worth passing on?

Original Hacker News comments, in the readers’ own words.

aalhour
Hey, I seconded this, the Dragons Book is not the best textbook or introduction to the topic, there are a lot of better ones. The Dragons Book is more of a classic. If you want to read a good book on compilers construction then you're better off reading "Engineering a Compiler" by K. Cooper and L. Torczon or "Modern Compiler Implementation in ML" by A. Appel. If you want more resources on Compilers other than books, such as tutorials, guides, talks and papers, then go ahead and check the Awesome Compilers vertical I compiled a while ago: https://github.com/aalhour/awesome-compilers Cheers!
cestith
- The Practice of Programming ; Kernighan and Pike - The Advent of the Algorithm ; Berlinski - Engineering a Compiler ; Torczon and Cooper - Advanced Programming in the Unix Environment ; Stevens and Rago - Databases, Types, and the Relational Model ; Date - Code ; Petzold
jey
"Engineering a Compiler" by Cooper and Torczon The Dragon Book is not the best book these days, it focuses too much on stuff you won't care about and not enough on the stuff you do care about. (e.g. it focuses a lot on parser generators and says almost nothing about analysis and optimization) EDIT: A good followup text is "Advanced Compiler Design and Implementation" by Muchnick

Also recommended in this reply