3 ms·
With no disrespect to the book that's the subject of this thread as I haven't read it, but Bob Nystrom's Crafting Interpreter [0] is a fantastic book. It cover
by spinningslate 2y ago
With no disrespect to the book that's the subject of this thread as I haven't read it, but Bob Nystrom's Crafting Interpreter [0] is a fantastic book. It covers all phases in compilation, including both an interpreter and a VM.
It's been covered on several threads here over the years [1].
[0]: https://craftinginterpreters.com/ https://craftinginterpreters.com/
[1]: https://hn.algolia.com/?q=crafting+interpreters https://hn.algolia.com/?q=crafting+interpreters
- jcpst 2y agoI remember seeing this a while back. That typesetting is beautiful. Thank you for bringing it up here, I might have to pick that one up. I’ve been bored with building line-of-business applications, despite designing for complex requirements in high-volume distributed systems. In fact I took a break from CS learning entirely 9 months ago. Even reading HN. I’ve been studying electronics and analog signal processing instead. But now that I’ve built about 50 guitar pedals of increasing complexity, I feel ready to switch back to CS studies again.
- agent281 2y agoThis book covers compiling to assembly whereas Crafting Interpreters only has a bytecode VM implementation. We'll see how good this book is when it drops, but I think that's a worthwhile feature that Crafting Interpreters punted on.