NAND-16: a computer built from 277,248 NAND gates

(somethingbig.ai)

32 points | by rossant 1 day ago

6 comments

  • monocasa 1 hour ago
    I was about to say that's a whole lot of gates for not a lot of computer, but then saw that rom and ram are also an array of nand gates.
  • Nurysso 26 minutes ago
    OHH my god this is soo awesome, I wonder how people build such things.
    • Retr0id 25 minutes ago
      They opened their AI agent and typed "make me a 16-bit computer built from NAND gates" and hit enter.
      • phoghed 17 minutes ago
        Go ahead and paste that into your coding harness of choice and see if you get this out.
        • Retr0id 16 minutes ago
          It'd take a few extra sentences to get the details, but I'm confident enough that it would work that I'd rather save my tokens for something more personally interesting.
          • phoghed 4 minutes ago
            4 sentences huh? I think I’m going to remain a doubter.
            • Retr0id 2 minutes ago
              I'm sincerely curious, when was the last time you tried agentic coding?
        • socializer 16 minutes ago
          Yes, the secret ingredient of these kinds of AI projects is being rich and spending an obscene amount of money on it.
    • btilly 11 minutes ago
      It has long been known that you can build any gate from NAND gates.

      So you can take an existing model of a computer, turn everything that isn't a NAND into a collection of NAND gates, then run software for the original computer.

    • moosedev 6 minutes ago
      They don’t. Not any more.
  • artemonster 8 minutes ago
    Impressed by visuals working so smoothly on mobile
  • welcome_dragon 16 minutes ago
    I mean if this was someone taking Nand2Tetris several steps further it would be impressive.

      claude "create a NAND gate-based computer, giving it a crappy web page"
  • wang_li 1 hour ago
    A nand gate takes 2 transistors. So 554,000 transistors if this were manufactured in a physical device.

    By way of comparison, the Intel i386 had 275,000 transistors.

    • matja 1 hour ago
      Most of the gate budget here is on SRAM used for system memory and video memory, so not exactly comparable to a i386 which had neither on-die.
    • HarHarVeryFunny 40 minutes ago
      ARM1 was only 25,000 transistors.
    • ohazi 1 hour ago
      4 transistors for a two-input NAND gate in CMOS.
      • jhallenworld 35 minutes ago
        1 transistor for DTL... certainly CMOS is more relevant.
  • guiambros 1 day ago
    This is pretty sad. Seeing this a couple of years ago would be mind blowing. An impressive technical feat by someone with grit and resilience to painstakingly build this from scratch.

    Today? Meh.

    • LarsDu88 1 hour ago
      I had the exact same thought. I vibecoded a MOS6502 emulator a few months back in Rust. My Rust skill is weak, and I learned absolutely nothing about the 6502 or CPU design. Had I done it manually, there's also no way to prove I created it without LLM help making the whole exercise less appealing overall.
      • socializer 24 minutes ago
        > there's also no way to prove I created it without LLM help

        You don't need to prove it, that was never a requirement. You can simply say it. The only complication is that there's a fair number of people who, for some reason, really want to pass LLM output as their own. They are present on HN too. But here's another ancient trick to overcome that: reputation. Either the reputation you already have, or reputation you build over time. If you have a reputation as an honest person with genuine interest in software, you really don't have to worry, and you will have audience for your work.

        • Retr0id 6 minutes ago
          I'm very grateful I have public pre-LLM projects I can point at (including a 6502 emulator!), and I have absolutely no idea how I'd go about bootstrapping the same kind of reputation starting from scratch.
        • LarsDu88 10 minutes ago
          Unfortunately few of us have such reputation to truck with. I think the reality is there is no point in showing off manually coded work any more. All that stuff is really left for self-edification, and increasingly so as AI becomes more capable.
    • Retr0id 27 minutes ago
      Yup. I got excited for a bit, until I loaded the page and saw it was slop. I still would be impressed if someone actually took the time to learn about and implement it for themselves.
      • HarHarVeryFunny 16 minutes ago
        Yeah, and it seems they didn't even physically build it (which is most of the point of these retro projects), else where are the photos? So this is an emulation of a vibe coded processor. Couldn't they at least have added a three.js animation of bits flying around or something?!