Hacker ApprovedDepartments

Modern Compiler Implementation

Modern Compiler Implementation by Andrew Appel

by Andrew Appel

Ranked 2 of 9 compiler textbooks by recommenders

People recommend it as a compiler textbook that balances practical and theoretical material, with the Standard ML edition singled out as the best version, and it is useful for backend compiler algorithms.

People recommend it as a compiler textbook that balances practical and theoretical material, with the Standard ML edition singled out as the best version, and it is useful for backend compiler algorithms.

9 people gave an opinion

recommend it
9
criticize it
0
approval share
100%
Each figure is one person. RecommendsCriticizes

Recommended in 4 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: not recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 9 people recommend itNeeds 10 or more, not met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 4 of 13 monthsNeeds 4 or more, 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

  • Preferred ML edition

    “Writing a compiler in Standard ML is as natural as writing a grammar and denotational semantics.”

    Comment from 26 Nov 2025 in “Build a Compiler in Five Projects”

    “The ML version is my favourite and I can vouch for the books being quite interesting.”

    Comment from 25 Nov 2025 in “Build a Compiler in Five Projects”

    “It really should be read in the SML/NJ as God Intended.”

    Comment from 6 Jul 2026 in “Introduction to Compilers and Language Design”
  • Liked by teachers and readers

    “I taught in the past and still like the trilogy of books”

    Comment from 25 Nov 2025 in “Build a Compiler in Five Projects”

    “I like the Appel compiler book.”

    Comment from 25 Oct 2026 in “Small Programs and Languages”

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.

Modern Compiler Implementation by Andrew Appel compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Compilers: Principles, Techniques, and Toolsby Aho, Sethi and Ullman231758%9——
Modern Compiler Implementationby Andrew AppelThis page90100%4——
Writing a C Compilerby Nora Sandler8280%8——
Engineering a Compilerby Cooper and Torczon60100%3——
Compiler Constructionby Niklaus Wirth40100%3——
See all 9 compiler textbooks, ranked

What people said

8 of the 11 comments that mention it, newest first. Each links to the original comment.

“I like the Appel compiler book.”

RecommendsComment from 25 Oct 2026 in “Small Programs and Languages”

“It really should be read in the SML/NJ as God Intended.”

RecommendsComment from 6 Jul 2026 in “Introduction to Compilers and Language Design”

“Tiger book is a much better introductory read, balancing between practical and theoretical aspects.”

RecommendsComment from 5 Jul 2026 in “Introduction to Compilers and Language Design”

“Writing a compiler in Standard ML is as natural as writing a grammar and denotational semantics.”

RecommendsComment from 26 Nov 2025 in “Build a Compiler in Five Projects”

“The ML version is my favourite and I can vouch for the books being quite interesting.”

RecommendsComment from 25 Nov 2025 in “Build a Compiler in Five Projects”

“the best book is the ML version”

RecommendsComment from 25 Nov 2025 in “Build a Compiler in Five Projects”

“I taught in the past and still like the trilogy of books”

RecommendsComment from 25 Nov 2025 in “Build a Compiler in Five Projects”

“invaluable for understanding backend (after parsing) compiler algorithms”

RecommendsComment from 8 Nov 2025 in “Becoming a compiler engineer”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.