6 ms·
This looks cool, been interested in learning more about compilers since I did the basics in college. Lots of things seem to focus on making interpreters and nev
by Coolbeanstoo 2y ago
This looks cool, been interested in learning more about compilers since I did the basics in college. Lots of things seem to focus on making interpreters and never make it to the code generation part so its nice to see that this features information about that.
- spinningslate 2y agoWith 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.