Justin Li

Constructive Critiques of NAND2Tetris

2026-11-27

I had the opportunity to teach our Computer Organization course for the first time this semester, something that has somehow always fallen on other people despite my decade at Occidental. One reason I was excited to teach the course is that we use The Elements of Computing Systems - also known as NAND2Tetris - as our syllabus, which I have never worked through. Funnily enough, I have played through Turing Complete, and so I unsurprisingly had a lot of fun working through the first half of the projects (up to building a functional CPU).

Since we are/did not following the second half of the book - our goals for the course meant students built something akin to x86 assembly and C, as opposed to a stack-based VM and an OOP-based Java-like - I wanted to write down a few annoyances I had with a number of design decisions from the book. I wrote my own simulator for the course, foregoing the online IDE, which made it possible to address some of the issues on the fly. At the same time, since I was only working two weeks ahead of students, I failed to foresee the downstream effects of some of the technical choices.

I hope this is helpful for people teaching from NAND2Tetris in the future. I'm teaching the course again next semester, and one of my goals for winter break is to update my simulator to address everything in this list. I would also be happy to report on my experience adapting the book to x86 assembly and C at that time!