Ask HN: Recommend an introductory course on compilers
1–10 of 23 posts
Re: Ask HN: Recommend an introductory course on compilers
#2http://compilers.iecc.com/crenshaw/
It was written with Turbo Pascal in mind but many have read the text and transcribed the instructions to a language of their choosing. Should be at least a good introduction to compilers.
Re: Ask HN: Recommend an introductory course on compilers
#3Re: Ask HN: Recommend an introductory course on compilers
#4https://news.ycombinator.com/item?id=13207695
Here are the links:
https://www.cs.swarthmore.edu/~jpolitz/cs75/s16/index.html
https://github.com/compilers-course-materials/
https://github.com/compilers-course-materials/cs75-s16-lectu...
Re: Ask HN: Recommend an introductory course on compilers
#5http://llvm.org/docs/tutorial/
These are examples in C++ and OCaml.
There's a similar tutorial in Python as well, which should be easier to get running:
http://www.llvmpy.org/llvmpy-doc/0.9/doc/kaleidoscope/Python...
Re: Ask HN: Recommend an introductory course on compilers
#6The inline docs are super well written, clear and extensive. It's also implemented in JabaScript.
It's an amazing learning tool and I really loved reading it!
Re: Ask HN: Recommend an introductory course on compilers
#7https://ocw.mit.edu/courses/electrical-engineering-and-compu...
Edit: here's some videos https://ocw.mit.edu/courses/electrical-engineering-and-compu...
Also maybe check out the recommended text: Modern Compiler Implementation in Java (Tiger Book)
And a few more resources here: http://cons.mit.edu/sp14/references.html
Re: Ask HN: Recommend an introductory course on compilers
#8Until now I think it is good (I'm in the second week of the course).
Re: Ask HN: Recommend an introductory course on compilers
#9Very good question. I am interested in reading the suggestions as well. Also, a specific book question: is Engineering a Compiler by Cooper & Torczon any good?
For me, its shining moments are the explanations of abstruse algorithms. The text takes the time to work through interesting example runs of the algorithms that illustrate all the facets of the computation. This was critical to my understanding of how the algorithms work, why they need to work that way, and how competing algorithms differ.
It's also not the kind of book that needs to be read cover to cover. We went through the chapters out of order. If you can find matching lecture slides, that can be a great guide or survey of the material.