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 · ▲67A 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 · ▲72I 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 · ▲99A 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 · ▲19032-bit RISC-V CPU in ~800 lines of C89. Contribute to mnurzia/rv development by creating an account on GitHub.
- H1Homebrew 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 · ▲200A complete compiler for a simple language (in less than 150 LoC) - 00_readme.md
More dev tools this month
the category →

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▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 22d ago · openbot.run
Talanoa▲341Hi 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▲332One 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 →


Life & fun · 2015 · twitchinstalls.com

A collection of free resources made by designers at Facebook
Work · 2015 · meta.com

Preview and help build the future of Product Hunt 🙊
Life & fun · 2015 · rrhoover.typeform.com
