Book review: Writing An Interpreter In Go

Boy, what a book!

This goes right into the list of books I would have wanted to read 10 years ago: a masterpiece on programming languages, with the author showcasing an excellent ability to write couple with extremely exhaustive — but never boring — content.

Long story short, the interpreter book should definitely be on your 2019 reading list unless you’ve already read it. If that’s the case, give the book another try, it’s probably worth it.

First and foremost, I’d like to start by saying that picking Go for such a topic was an excellent choice: not everyone might be familiar with the language, but its standard library and “strictness” make it for a perfect choice for these kind of tasks.

An epic feat is that the book manages to write an entire interpreter using only the Go standard library: yes, no single dependency other than Go itself.

I’m not sure how to put it into words, but the writing style is also impeccable, as I started this book and had to finish it within 4 hours — I simply couldn’t get over it.

Writing An Interpreter In Go will spoon-feed you through the journey of writing “your own programming language”, presenting topics such as writing a lexer and parser in such a way that even the silliest of human beings (hey there, that’s me!) can understand them easily. I dunno, to me this book is simply a masterpiece.

Worth to note that the author just recently doubled up with a sequel to this book, Writing A Compiler In Go, that takes the codebase you ended up with the interpreter book and writes a compiler and VM for the language you’ve just built.

Go grab your copy!

Hi there! I recently wrote an ebook on web application security, currently sold on leanpub, the Amazon Kindle store and gumroad.

It contains 160+ pages of content dedicated to securing web applications and improving your security awareness when building web apps, with chapters ranging from explaining how to secure HTTP cookies with the right flags to understanding why it is important to consider joining a bug bounty program.

Feel free to skim through some of the free chapters published on this blog and, if the content seems interesting enough to you, grab a copy on leanpub, the Amazon Kindle store, gumroad or simply checkout right down below!

Buy the Web Application Security ebook for $9.99

In the mood for some more reading?

...or check the archives.