Hacker News new | ask | show | jobs
by carom 679 days ago
I took a compilers course in university and the course culminated in having a compiler for C Minus (a subset of C). The professor noted how each year the line count of the compilers was dropping as students found ways libraries or languages that made it easier. I think the evolution was Java -> Antlr -> Python. I used OCaml and emitted LLVM and blew that metric out of the water.
1 comments

Blew it out of the water with more or less lines of code? :)
Far fewer, to the point of another student asking me what I even did for the project because I didn't have to implement any of the algorithms.