Crafting Interpreters
Robert Nystrom
32 people recommended it in 18 threads, 2017–2025.
What people on Hacker News said
Crafting Interpreters by Robert Nystrom is of similar quality. There are a lot of 'oh that's how that works' moments in this book.
An absolute joy to work through and provides enough technical detail to provide a good foundation without having to slog through compiler textbooks.
I think it's a good method for experienced programmers, who are self-taught (like me) or just want to brush up some skills and knowledge.
Even if you don’t care about language design, it’s a great way to get you to think about the tools we use everyday, how they get made, and why their limitations exist.
which walks you through implementing an interpreter (well, two actually) from scratch, a chapter at a time:
Where it comes up
- Ask HN: Do you recall any book or course that made a topic finally click? 2022 · 5 recommendations
- Ask HN: What are some books where the reader learns by building one project? 2017 · 5 recommendations
- Ask HN: What's the best book you've read regarding software development? 2025 · 2 recommendations
- Ask HN: What are the most eye-opening textbooks you have ever read? 2023 · 2 recommendations
- Books for Software Engineers in 2023 2023 · 2 recommendations
- Ask HN: What are the best tech books you read in 2021? 2021 · 2 recommendations
- Ask HN: Technical Summer Reading List 2021 · 2 recommendations
- Ask HN: What are some books where the reader learns by building projects? 2020 · 2 recommendations
- Ask HN: Top 10 Timeless Software Books That ChangedLife as Software Engineer? 2023 · 1 recommendation
- Books for Game Developers 2023 · 1 recommendation
- Ask HN: Books that teach programming by building a series of small projects? 2023 · 1 recommendation
- Ask HN: What are some of the best books you have read in 2022? 2022 · 1 recommendation
- Ask HN: Best book to learn C in 2022? 2022 · 1 recommendation
- Ask HN: Which book are you reading, since when? 2022 · 1 recommendation
- Ask HN: What are the best short tech/engineering books you have read? 2022 · 1 recommendation
- Trying to study textbooks effectively: a year of experimentation 2021 · 1 recommendation
- Computer Science textbooks that are freely available online 2020 · 1 recommendation
- Ask HN: What language-agnostic programming books should I read? 2017 · 1 recommendation
