
Writing A Compiler In Go
Thorsten Ball · 2018
Programming and computer science › Compilers and interpreters
#1,115 most recommended
Hacker News
42
mentions by 39 people · top 8% of 15,732 books
Open Library
—
No ratings yet
4 want to read
Wikipedia
—
No article yet
About the book
A hands-on guide to building a compiler and virtual machine in Go for the Monkey language, continuing from the tree-walking interpreter in the author's earlier book. It covers turning the parsed AST into bytecode, designing an instruction set, and running that bytecode on a stack-based VM. Compilers and virtual machines are understandable engineering that a programmer can build step by step, without a background in compiler theory. The book presents the bytecode compiler and VM as a natural extension of an interpreter the reader has already written, so each new piece builds on working code. Its implicit claim is that writing the system yourself is the most direct way to learn how high-level code is turned into something a machine executes.
Written by Claude from what it knows of this book.
What Hacker News says 85% recommend · 0% critical
In the commenters’ own words
I've been spending the last couple weekends porting Thorsten Ball's Monkey language (from the texts Writing an Interpreter in Go and Writing a Compiler in Go)…
Writing an Interpreter in Go / Writing a Compiler in Go, the two part series by Thorsten Ball, was what I really cut my teeth on. It straightforwardly takes…
What Open Library readers say
No Open Library reader has rated it yet.
- 4 want to read
- 0 reading
- 1 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
Details
- First published
- 2018
- Editions known
- 2 at Open Library
- Open Library
- OL24141622W
Read next: its neighbours on the mosaic
Writing An Interpreter In GoThorsten Ball · 2018 · recommended by 73 people · 27 people recommended both
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 people · 8 people recommended both
Threaded interpretive languagesR. G. Loeliger · 1981 · recommended by 24 people · 2 people recommended both
Build Your Own LispMr Daniel Holden · 2014 · recommended by 23 people · similar by subject and what people say about it
Modern compiler implementation in MLAndrew W. Appel · 1997 · recommended by 24 people · similar by subject and what people say about it
Language Implementation PatternsTerence Parr · 2009 · recommended by 18 people · similar by subject and what people say about it
Optimizing compilers for modern architecturesRandy Allen · 2002 · recommended by 3 people · similar by subject and what people say about it
Write Great CodeRandall Hyde · 2004 · recommended by 16 people · similar by subject and what people say about it
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · named together in 4 comments
Engineering a compilerKeith D. Cooper · 2004 · recommended by 39 people · similar by subject and what people say about it
The Go Programming LanguageAlan A. A. Donovan · 2015 · recommended by 40 people · 2 people recommended both
Advanced compiler design and implementationSteven S. Muchnick · 1997 · recommended by 13 people · similar by subject and what people say about it
The architecture of open source applicationsAmy Brown · 2011 · recommended by 204 people · 4 people recommended both
Essentials of CompilationJeremy G. Siek · 2023 · recommended by 17 people · similar by subject and what people say about it
Ray Tracer ChallengeJamis Buck · 2019 · recommended by 21 people · 2 people recommended both
Essentials of programming languagesDaniel P. Friedman · 1992 · recommended by 43 people · similar by subject and what people say about it
Beautiful RacketMatthew Butterick · 2017 · recommended by 44 people · similar by subject and what people say about it
Programming Language PragmaticsMichael L. Scott · 1999 · recommended by 31 people · similar by subject and what people say about it
Compiler constructionNiklaus Wirth · 1996 · recommended by 30 people · similar by subject and what people say about it
Building GitJames Coglan · 2021 · recommended by 19 people · similar by subject and what people say about it
Parsing TechniquesDick Grune · 2007 · recommended by 16 people · similar by subject and what people say about it
Modern compiler designDick Grune · 2000 · recommended by 12 people · similar by subject and what people say about it
Compiler design in CAllen I. Holub · 1990 · recommended by 11 people · similar by subject and what people say about it
Modern compiler implementation in CAndrew W. Appel · 2004 · recommended by 8 people · similar by subject and what people say about it