nowfound

Dev tools · October 13, 2015

CPU simulator in 60 lines of code

Simple CPU model written in 60 lines of C with 8 registers and basic instructions - wkoszek/cpu60

CPU simulator in 60 lines of code launched on October 13, 2015 with 60 votes, #1,398 of 4,175 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 11 years on.

In plain words

CPU simulator in 60 lines of code is a lightweight CPU model written in C that implements 8 registers and basic instructions. Designed for developers interested in understanding processor fundamentals, it demonstrates core concepts in a minimal, readable codebase. The project is hosted on GitHub and serves as an educational tool for learning how simple CPU architectures work.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • 8-bit CPU simulator in C2020 · github.com · ▲67

    A digital logic simulation written in C. Contribute to rzscheck/logic development by creating an account on GitHub.

  • I built an 8-bit CPU simulator in Python from scratchOct 2025 · github.com · ▲72

    I built a tiny 8-bit CPU simulator in Python to better understand how computers work at a low level. It visualizes registers, memory, and instructions in real-time, so you can actually see each operation as it happens. You can write simple assembly code and watch how the CPU executes it step by step. The project is mainly for learning and experimentation, but I’d love feedback or ideas for improvement.

  • Bit Serial CPU2020 · github.com · ▲99

    A bit-serial CPU written in VHDL, with a simulator written in C. - howerj/bit-serial

  • RISC-V core written in 600 lines of C892023 · github.com · ▲190

    32-bit RISC-V CPU in ~800 lines of C89. Contribute to mnurzia/rv development by creating an account on GitHub.

  • H1
    Homebrew 16bit CPU from 74HC logic with C compiler and Unix-like OS2023 · sol-1.org · ▲192

    This is a 16bit CPU+Minicomputer from pure 74 series logic. It has user/kernel modes, virtual memory, prioritized IRQ's and DMA. It has a full C compiler and a unix-like OS. It's still in development.

  • A compiler and VM for a simple language, in 150 lines of code2022 · gist.github.com · ▲200

    A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md

More dev tools this month

the category →
  • /dev/null▲481

    a social network for devs

    Dev tools · 2d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 25d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 22d ago · openbot.run

  • Talanoa▲341

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 20d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 27d ago · corespeed.io

Source: Show HN post ↗

Launched alongside, October 2015

the whole month →