Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you know of any good courses on developing compilers for static languages?


My (tiny) CS department has a pretty nice compilers course, I thought. You work on a single, ~10k LoC file [0] that is written in a subset of C, compiles that subset to RISC-V, and also has a small VM and even a hypervisor for running the code it generates. The only thing is, the video lectures are 8 years old [1]. Though last semester, all lectures were online and anyone could join. Might be the same next spring/summer. You’d have to check the professor’s Twitter account.

[0]: https://github.com/cksystemsteaching/selfie [1]: https://vimeopro.com/user12798068/university-of-salzburg-int...


Not a course [yet], but I did write a tutorial series for my undergrad students: http://web.eecs.utk.edu/~azh/blog/teenytinycompiler1.html


I think a course like that is pretty standard in a lot of larger CS programs. I saw that Stanford has a free online course: https://online.stanford.edu/courses/soe-ycscs1-compilers

I would be partial to any course that uses Appel's "Modern Compiler Implementation in ML", though that book is getting pretty old now.


I took Aiken's Stanford Compilers course on Coursera and wrote about it:

https://dirkjan.ochtman.nl/writing/2012/07/21/compilers-on-c...


I can't seem to find that course on Coursera; was it removed?


I think they moved from Coursera to Stanford's own platform.

http://openclassroom.stanford.edu/MainFolder/DocumentPage.ph...


Thanks!


Maybe check this bibliography [1] of "Resources for Amateur Compiler Writers"... although I'm not sure what's the "Amateur" part of it... it lists several text books and papers that would take anyone a few years to work through :-/

https://thorstenball.com/books/ seems like a good star, and if you don't know Go it shouldn't take too long to get acquainted with it.

1: http://c9x.me/compile/bib/





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

Search: