Hacker ApprovedDepartments

Crafting Interpreters

Crafting Interpreters by Robert Nystrom

by Robert Nystrom

Hacker Approved

The most recommended of 106 programming books

People recommend it as a clear, practical introduction to interpreters and compilers, building two interpreters. Caveat: it focuses on dynamic runtimes, not compiled ones.

55 people recommended Crafting Interpreters by Robert Nystrom in Hacker News comments and 4 criticized it, November 2025 to October 2026.

Summary written by Claude from 44 comments. It was written before the November 2026 recount, and 41 of those comments still count.

59 people gave an opinion

recommend it
55
mixed feelings
0
warn against or regret it
4

The record

Each figure is one person. RecommendsMixed feelingsCriticizes

Recommended in 9 of 12 months

In 26 different threads.

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

Why it carries the badge

  • 55 people recommend itNeeds 10 or more, met.
  • 14 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 9 of 12 monthsNeeds 4 or more, met.
  • Recommended in 26 threadsNeeds 5 or more, met.
  • The biggest thread supplies 31% of its recommendersNeeds half or less, met.

The same rules apply to every product, and the badge can’t be bought. Mixed feelings count toward neither side. How the badge works

What people say about it

Reasons grouped from a sample of 40 of the 63 opinions about it, picked in proportion to how many people recommend it, have mixed feelings and criticize it. Each mark is one comment in the sample. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Strong introduction to interpreters and compilers

    “I can't recommend Crafting Interpreters enough, it's probably one of the best entry-level books that goes into that entire process.”

    Comment from 16 Jul 2026 in “G# – A modern .NET language with Go, Kotlin, and Swift ergonomics”

    “These days Crafting Interpreters is probably the best suggestion.”

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

    “One of the best resources for learning compiler design”

    Comment from 15 Jan 2026 in “Crafting Interpreters”
  • Casual, witty, enjoyable writing style

    “I just love the author's casual writing style and all the tiny jokes and puns they made.”

    Comment from 15 Jan 2026 in “Crafting Interpreters”

    “I really enjoyed Crafting Interpreters, wholeheartedly recommend!”

    Comment from 15 Apr 2026 in “Want to Write a Compiler? Just Read These Two Papers (2008)”
  • Builds two interpreters, Java then C

    “It has 2 parts, the first in Java for doing a treewalk Interpreter in Java before going farther with a version written in C.”

    Comment from 18 Jun 2026 in “Advanced Compilers: The Self-Guided Online Course”
  • Better than a compiler class

    “I learned way more reading crafting interpreters than I did in my compiler class”

    Comment from 29 Nov 2025 in “Confessions of a Software Developer: No More Self-Censorship”

What people warn about

Each mark is one comment

  • Covers interpreters, not compiled runtimes

    “I would have hoped for something more formal and that's focused on compiled runtimes, instead of dynamic runtimes”

    Comment from 18 Jun 2026 in “Advanced Compilers: The Self-Guided Online Course”

    “Compiler doesn't match the title of the book.”

    Comment from 15 Jan 2026 in “Crafting Interpreters”

Other programming books people recommend

The four most recommended other programming books, 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.

Crafting Interpreters by Robert Nystrom compared with 4 alternatives
ProductRecommendMixedCriticizeApprovalMonthsHad forBadge
Crafting Interpretersby Robert NystromThis page550493%9—Approved
The Pragmatic Programmerby Hunt and Thomas253196%7——
How to Design Programsby Felleisen, Findler, Flatt and Krishnamurthi151288%7—Approved
Working Effectively with Legacy Codeby Michael Feathers141193%8—Approved
Mastering Emacsby Mickey Petersen134193%8—Approved
See all 106 programming books, ranked

Also compared with The Linux Programming Interface by Michael Kerrisk and Programming Windows by Charles Petzold.

What people said

40 of the 63 opinions about it, picked in proportion to the three counts, newest first. Each links to the original comment.

“I can't recommend Crafting Interpreters enough, it's probably one of the best entry-level books that goes into that entire process.”

RecommendsComment from 16 Jul 2026 in “G# – A modern .NET language with Go, Kotlin, and Swift ergonomics”

“found it valuable for the development of a DSL I'm working on”

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

“These days Crafting Interpreters is probably the best suggestion.”

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

“Crafting Interpreters is definitely a recommended read”

RecommendsComment from 18 Jun 2026 in “Advanced Compilers: The Self-Guided Online Course”

“I would have hoped for something more formal and that's focused on compiled runtimes, instead of dynamic runtimes”

CriticizesComment from 18 Jun 2026 in “Advanced Compilers: The Self-Guided Online Course”

“It has 2 parts, the first in Java for doing a treewalk Interpreter in Java before going farther with a version written in C.”

RecommendsComment from 18 Jun 2026 in “Advanced Compilers: The Self-Guided Online Course”

“I do like a Crafting Interpreters or Mythical Man Month”

RecommendsComment from 8 Jun 2026 in “The Cypherpunk Library”

“I highly recommend Crafting Interpreters. Bob Nystrom is among my favorite authors.”

RecommendsComment from 29 May 2026 in “The Lone Lisp Heap”

“If you’re just trying to get your parser done, pick one of the bog-standard techniques, use it, and move on.”

RecommendsComment from 10 May 2026 in “Making your own programming language is easier than you think (but also harder)”

“Crafting Interpreters is great, I wish it had a companion book that covered”

RecommendsComment from 15 Apr 2026 in “Want to Write a Compiler? Just Read These Two Papers (2008)”

“I really enjoyed Crafting Interpreters, wholeheartedly recommend!”

RecommendsComment from 15 Apr 2026 in “Want to Write a Compiler? Just Read These Two Papers (2008)”

“Awesome course! finished it while i was doing my final CS year”

RecommendsComment from 15 Apr 2026 in “Want to Write a Compiler? Just Read These Two Papers (2008)”

“Nowadays I’ve heard recommended Crafting Interpreters.”

RecommendsComment from 15 Apr 2026 in “Want to Write a Compiler? Just Read These Two Papers (2008)”

“Crafting Interpreters is a good recommendation”

RecommendsComment from 11 Apr 2026 in “Ask HN: Best books on building a programming language”

“Crafting Interpreters is a perfect starting point”

RecommendsComment from 8 Feb 2026 in “Tiny C Compiler”

“a terrific introduction to the key concepts”

RecommendsComment from 8 Feb 2026 in “Tiny C Compiler”

“learning from established resources like this is exactly what I need”

RecommendsComment from 3 Feb 2026 in “G Lang – A lightweight interpreter written in D (2.4MB)”

“read Crafting Interpreters by Bob Nystrom (it's free online”

RecommendsComment from 3 Feb 2026 in “G Lang – A lightweight interpreter written in D (2.4MB)”

“its a big inspiration for me because thats on my list of things to do”

RecommendsComment from 18 Jan 2026 in “The $LANG Programming Language”

“Simply my favorite programming text of all time.”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“Sometimes it's useful to teach progressively, using techniques that were used more often”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“I just love the author's casual writing style and all the tiny jokes and puns they made.”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“Reading this book brought me a better understanding of "the expression problem”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“provide much big brain advice and grug love book very much”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“The book explains that as well, so I'd recommend just reading it”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“Compiler doesn't match the title of the book.”

CriticizesComment from 15 Jan 2026 in “Crafting Interpreters”

“Crafting Interpreters is definitely a keeper”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“The whole point of the book is to get a sense and mindset of crafting compilers.”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“I stopped reading when he started using the visitor pattern”

CriticizesComment from 15 Jan 2026 in “Crafting Interpreters”

“I've found this book to be a good way to learn a new language, because it forces you to do a bit of reading”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“One of the best resources for learning compiler design”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“The official repository for the book made this very easy to do since it has tests for each individual chapter.”

RecommendsComment from 15 Jan 2026 in “Crafting Interpreters”

“Robert Nystrom is such a hero for writing Crafting Interpreters.”

RecommendsComment from 15 Jan 2026 in “The $LANG Programming Language”

“Crafting Interpreters was sometimes helpful”

RecommendsComment from 11 Jan 2026 in “Ask HN: When has a "dumb" solution beaten a sophisticated one for you?”

“Great book; very good introduction to the subject.”

RecommendsComment from 3 Jan 2026 in “The C3 Programming Language”

“you'll never get chatgpt to come up with something on par with the venerable Crafting Interpreters”

RecommendsComment from 31 Dec 2025 in “I canceled my book deal”

“There is a good body of literature that is distinct from the academic compiler literature.”

RecommendsComment from 12 Dec 2025 in “Revisiting "Let's Build a Compiler"”

“Crafting interpreters was my introduction to programming languages!”

RecommendsComment from 11 Dec 2025 in “Super-Flat ASTs”

“I learned way more reading crafting interpreters than I did in my compiler class”

RecommendsComment from 29 Nov 2025 in “Confessions of a Software Developer: No More Self-Censorship”

“the author used Markdown and the result was beautiful and successful”

RecommendsComment from 23 Nov 2025 in “Markdown is holding you back”

Counts come from 1,791,911 Hacker News comments labeled by Claude, November 2025 to October 2026, with data through October 31, 2026. Counts updated 2 Nov 2026. How we count. Report a mistake.