r/computerscience • • Apr 25 '25

Discussion (Why) are compilers course practicums especially difficult?

In more than one (good) academic institution I've taken a compilers course at, students or professors have said "this course is hard," and they're not wrong.

I have no doubt it's one of the best skills you can acquire in your career. I just wonder if they are inherently more difficult than other practicums (e.g. databases, operating systems, networks).

Are there specific hurdles when constructing a compiler that transcends circumstantial factors like the institution, professor that are less of a problem with other areas of computer science?

44 Upvotes

26 comments sorted by

View all comments

Show parent comment

2

u/translate-comment Apr 29 '25

Interesting. That sounds somewhat similar. It’s still known to be a hard class but I’m not sure about the hardest systems elective anymore. I tell people the projects are very very hard but the class itself is easy. Not too much homework, a few labs, and pretty easy exams. Advanced CPU architecture has been a lot more work so far but easier projects.

2

u/ChrisWsrn Apr 29 '25

My senior year I took the precursor to that class and we had to build a RISC-V 32I CPU from scratch and then load it into a FPGA. That was also a fun class but it was not considered a systems elective.