From Nand to Tetris: Building a Modern Computer from First Principles

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nand2tetris

    An implementation of the nand2tetris project. A full-stack computer: ISA, Assembler, Virtual Machine, Interpreter, Compiler, Operating System, and a Graphical Sudoku game. All from scratch. (by porridgewithraisins)

  • src

    Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.

  • > building a cat from scratch

    > That would be an interesting project.

    Here is the source code of the OpenBSD implementation of cat:

    > https://github.com/openbsd/src/blob/master/bin/cat/cat.c

    and here of the GNU coreutils implementation:

    > https://github.com/coreutils/coreutils/blob/master/src/cat.c

    Thus: I don't think building a cat from scratch or creating a tutorial about that topic is particularly hard (even though the HN audience would likely be interested in it). :-)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • coreutils

    upstream mirror (by coreutils)

  • > building a cat from scratch

    > That would be an interesting project.

    Here is the source code of the OpenBSD implementation of cat:

    > https://github.com/openbsd/src/blob/master/bin/cat/cat.c

    and here of the GNU coreutils implementation:

    > https://github.com/coreutils/coreutils/blob/master/src/cat.c

    Thus: I don't think building a cat from scratch or creating a tutorial about that topic is particularly hard (even though the HN audience would likely be interested in it). :-)

  • build-your-own-shell

    Guidance for mollusks (WIP)

  • https://github.com/tokenrove/build-your-own-shell

    I think you right, and implementing core utils is a nice exercise in system programming.

  • nand2minesweeper

    Minesweeper game written in Jack for the nand2tetris course

  • This was an amazing course and is one of the most rewarding computer science courses I've taken! I loved that there was nothing left to "magic" and it was the first time I felt like I understood the "full stack" of the Java-like code I was writing right down to the silicon atoms.

    Self-plug for a full-blown minesweeper game I made for the final project: https://github.com/billmei/nand2minesweeper It's a complete game with a tutorial, custom RNG, and unit tests, using their hardware simulator.

  • computationbook

    Example code for Understanding Computation

  • Maybe something like this?

    https://computationbook.com/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts