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

writing a C compiler is a 1st year undergrad project

C was explicitly designed to make it simple to write a compiler



Which university offers compiler for freshmen? Can you provide a link to the course?


These are toy compilers missing many edge cases. You’ll be lucky if they support anything other than integer types, nevermind complex pointer-to-pointer-to-struct-with-pointers type definitions. They certainly won’t support GNU extensions. They won’t compile any serious open source project, nevermind the Linux kernel.


Third or fourth, maybe, not first.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: