Hacker News new | past | comments | ask | show | jobs | submit login

Can anyone recommend a good book about compilers? I just watched Martin Odersky's talk from Scala World [1] where he talks about the new Scala compiler he is working on called Dotty [2], but he talks a bit about other compilers and now I am interested to learn more.

[1] https://www.youtube.com/watch?v=w1ca4KL9UXc

[2] http://dotty.epfl.ch




My three favorite books on compilers (in no particular order) are:

* Engineering a Compiler: https://www.amazon.com/Engineering-Compiler-Second-Keith-Coo...

* Modern Compiler Implementation in ML: https://www.cs.princeton.edu/~appel/modern/ml/

* Compiling with Continuations: https://www.amazon.com/Compiling-Continuations-Andrew-W-Appe...


I second Modern compiler implementation in ML. I'd also add Types and Programming Languages by Pierce, commonly referred to as TAPL for background on type systems. https://www.cis.upenn.edu/~bcpierce/tapl/




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: