Live data from Hacker News

Advanced Compilers: Self-Guided Online Course

cs.cornell.edu

41–50 of 90 posts

Re: Advanced Compilers: Self-Guided Online Course

#41

I wish my school offered something even half good as this. I've seen it like 2 years ago and it is well prepared course. >CS 6120 is a PhD-level Cornell CS course by Adrian Sampson on programming language implementation. I just dont understand why is this "PhD level"

I’d guess “PhD level” just means it’s intended for graduate students in a PhD program.

For example, they read and discuss papers rather than just working out of a textbook.

Re: Advanced Compilers: Self-Guided Online Course

#42
> I wish my school offered something even half good as this.

Me too. In my school, we had great introduction/mid-level classes but at the graduate level, I found our classes underwhelming. Mostly Prof/Researchers teaching their narrow specialties and trying to recruit PhD students, but without putting much time in their lectures as they didn't care about teaching. Bunch of slides, research papers to read. They wouldn't bother making a heavy programming project, which was left to their colleagues doing less research.

Re: Advanced Compilers: Self-Guided Online Course

#43

When am I going to be able to do self-paced for credit courses from good schools online without the crazy price tag?

An important component of credit courses is the time limitness so this seems unlikely to happen.

> An important component of credit courses is the time limitness

Huh? Why would that be an important component?

I mean I know that it's typical for courses that come with credit, but in my mind it's just a side effect of the administrative side of providing courses, not something that's at all central to accreditation. I.e. if you build up the knowledge over a longer period (which you can still do with e.g. resits) that's completely fine as well.

Re: Advanced Compilers: Self-Guided Online Course

#44
post #39
post #21

Earlier quoted context omitted.

Here you go: https://users.cs.utah.edu/~pandey/courses/cs6530/fall22/sche...

That class just uses my slides. It says so at the bottom of the page: > The lecture slides used in the course are taken from Prof. Andy Pavlo's CMU 15-721 course Just go to the source: https://15721.courses.cs.cmu.edu/spring2023/

Is there an accompanying textbook for your course or only the papers that are listed?

Re: Advanced Compilers: Self-Guided Online Course

#45
post #20

I wish my school offered something even half good as this. I've seen it like 2 years ago and it is well prepared course. >CS 6120 is a PhD-level Cornell CS course by Adrian Sampson on programming language implementation. I just dont understand why is this "PhD level"

> I just dont understand why is this "PhD level" It would have been if the papers covered were closer to the state of the art. The most recent one is from 2015. However, this course would actually give you the background required to read more recent paper and work on compiler research, so calling it PhD level is not a huge stretch.

Even if you're working at the PhD level, a course is only going to at best give you a survey of material instead of the latest-and-greatest papers hot off the presses at PLDI or ASPLOS or whatever conferences matter most for your field. If you're actually doing research on a particular subfield, then you are going to be finding and reading those papers on your own.

In that vein, it makes a lot more sense to focus on a solid, foundational paper than whatever incrementalism came out most recently. SLP vectorization is a good example here--yeah, the foundational paper is 20 years old at this point, but you'd rather students read and understand that than whatever the most recent addition to SLP vectorization came out in this (or last) year's PLDI. Even the other papers I think I might add or substitute for others in this course aren't going to be substantially newer than the stuff already here.

Re: Advanced Compilers: Self-Guided Online Course

#46

Earlier quoted context omitted.

Precisely made for "creating a new language, interpreter, and compiler from scratch": http://craftinginterpreters.com

This does not cover compilers. I know because I specifically asked munificent (the author) about this before and he mentioned some other books to look at.

He's being modest :) Sure, the book doesn't cover many traditional compiler topics such as register allocation and code optimization. However, it does cover parsing and translating to intermediate representation, which is 90% of what you need to get your own programming language off the ground. And to be honest, many university compiler courses won't have time to go much farther than that anyway.

Re: Advanced Compilers: Self-Guided Online Course

#47
post #39
post #21

Earlier quoted context omitted.

Here you go: https://users.cs.utah.edu/~pandey/courses/cs6530/fall22/sche...

That class just uses my slides. It says so at the bottom of the page: > The lecture slides used in the course are taken from Prof. Andy Pavlo's CMU 15-721 course Just go to the source: https://15721.courses.cs.cmu.edu/spring2023/

okay I'm curious - what are dirty systems programming skills, professor?

Re: Advanced Compilers: Self-Guided Online Course

#48

Are there any courses on creating a new language, interpreter, and compiler from scratch? Like not using LLVM or similar to generate intermediate representation but to literally pick an ISA and, well, compile for it.

The https://www.nand2tetris.org/ is pretty neat. The compiler in part 2 isn’t very advanced (it doesn’t cover much in the space of optimization or the state of the art) but taken as a whole you end up designing the chip, ISA, VM, language and compiler, so it’s pretty good for that aspect.

Re: Advanced Compilers: Self-Guided Online Course

#49

> I wish my school offered something even half good as this. Me too. In my school, we had great introduction/mid-level classes but at the graduate level, I found our classes underwhelming. Mostly Prof/Researchers teaching their narrow specialties and trying to recruit PhD students, but without putting much time in their lectures as they didn't care about teaching. Bunch of slides, research papers to read. They wouldn…

I'm in a Master's (and possibly jumping to PhD) program at a Big Tech School that you've probably heard of -- and that's my feeling as well.

Fairly underwhelming. Lots of online resources to chase after to catch up to the state of the art, but a lot of the courses are things like the history of, and developments of, the technology. Worth knowing, but I don't need multiple, year-long adventures in this stuff -- get me to modern, and then let's solve some actual problems!

Re: Advanced Compilers: Self-Guided Online Course

#50

When am I going to be able to do self-paced for credit courses from good schools online without the crazy price tag?

Self-paced is the tough ask. Part of the value of formal schooling is the forcing function of deadlines to make you actually spend the time and absorb the material.
Post reply on HN