News for hackers. Stuff that matters.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by krtkush on Wednesday April 15, 2026 @06:01AM (#47776926)
I wonder if it makes sense to do the nand2tetris course for an absolute beginner since it too has compiler creation in it.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by wartywhoa23 on Wednesday April 15, 2026 @07:04AM (#47777405)
I highly recommend nand2tetris to everyone. For me, nothing ever explained the whole domain from logic gates and inner workings of a CPU to compilers better than this course.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by wartywhoa23 on Wednesday April 15, 2026 @07:06AM (#47777431)
On a side note, why is imrozim's comment dead? What in the world is wrong with it? It's perfectly fine IMO.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by bmn__ on Wednesday April 15, 2026 @08:25AM (#47778082)
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by atan2 on Wednesday April 15, 2026 @09:14AM (#47778535)
I think it's worth mentioning Gustavo Pezzi's lectures at pikuma.com. The one on "Digital Electronics" and the one on "Interpreters & Compilers" really helped me.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by sn9 on Wednesday April 15, 2026 @06:55PM (#47786396)
nand2tetris only requires programming ability at the level of someone who's taken freshman level CS IIRC.

You could take Harvard's CS50 and then tackle it.