Lurker News
I am proud to present my solo hobby project NAND. This year-long undertaking follows the completed Nand to Tetris course, but ported to the web with its own runtime, user interface, and IDE. Using the "Load example program" selector, you can try out some programs I wrote on NAND's emulated hardware such as 2048, a genetic algorithm, and a manual stack overflow to corrupt the screen.

Check out NAND at https://nand.arhan.sh
Additionally, I've authored an extensive writeup about the project. Read about it on the GitHub repository's readme.

Comments (73) 26 threads

Earlier comments
mikestew#
Awesome work! Bookmarked for in-depth perusal later. As a fan of NAND-to-Tetris, but never made it all the way through, I look forward to poking around in your project.
gmiller1234561 reply#
Curious, how many NAND gates are there in total?
ArchAndStarch#
I've inspected my code closely. Every clock cycle, the NAND gate is used 3,234 times :)
apienx#
Thank you. First principles FTW!
Animats1 reply#
Seymour Cray would have loved this. Some of his computers were all NAND gates.
dhosek1 reply#
The supercomputers (all?) used wirewrap rather than PCBs. I heard a story once about someone coming in for a demo of a supercomputer and Cray realized there was a bug in the hardware during the demo and while the potential customers were at lunch, he rewired the machine to fix the bug.
Animats1 reply#
Right. Seymour Cray said that the two big problems in supercomputing were "the thickness of the mat" (of wires on the backplane) and getting rid of the heat.

This is a Cray-I backplane.[1]
[1] https://www.flickr.com/photos/geekmuseum/2926520634/

syockit#
I wonder if any of his machines ever caught fire, causing an localized out-of-season aurora borealis. On the other hand, Cray machines are never mentioned in the "Halt and Catch Fire" machine code instruction humor.

Load more comments