Nand2tetris and Rust


I recently came across this neat course called nand2tetris, which teaches you how computers work starting with NAND gates and progressing all the way to your own compiler. I thought it was pretty neat as I didn’t cover this area that much in my formal education, and it’s really interesting to see how a few NAND gates put together can develop progressively more complex logic.

Anyway, I thought Rust was the perfect complement to the course (which you can audit for free on Coursera) as you eventually have to start writing your own Assembler, etc… and, sans a few obscure lifetime errors, Rust made it really easy to do this.

Merry Christmas and Happy Holidays!