nowfound

Dev tools · alternatives · 2026

24 alternatives to 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 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… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. CPU simulator in 60 lines of code launched in 2015; newer entries below may have overtaken it.

  1. 1

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

    2020 · github.com · its alternatives →

  2. 2

    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.

    Oct 2025 · github.com · its alternatives →

  3. 3

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

    2020 · github.com · its alternatives →

  4. 4

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

    2023 · github.com · its alternatives →

  5. 5H1

    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.

    2023 · sol-1.org · its alternatives →

  6. 6

    Introduction to UDP: sockets, frames, and data encoding. We build a Rust client for a simple name server that converts domain names into IP addresses.

    2020 · lowlvl.org · its alternatives →

  7. 7

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

    2022 · gist.github.com · its alternatives →

  8. 8

    A simple way to write standalone C programs for i386 - luke8086/boot2c

    2019 · github.com · its alternatives →

  9. 9LC

    I made a simple virtual machine that runs C in the browser.This project is made as an experiment to see if C can be learned easier if the lower level is covered in paralel. Sandbox: https://vasyop.github.io/miniC-hosting Tutorial part 1: https://vasyop.github.io/miniC-hosting/?0 More info: https://github.com/vasyop/miniC-hosting/blob/master/README.md Please support this project: https://github.com/vasyop/miniC-hosting/blob/master/support.md

    2019 · its alternatives →

  10. 10XA

    x86CSS is a working CSS-only x86 CPU/emulator/computer. No JavaScript required!

    Feb 2026 · lyra.horse · its alternatives →

  11. 11

    I built a 16-bit CPU simulator that runs entirely in the browser. You can write assembly, run it, or step through it one instruction at a time while watching what happens inside the CPU. It shows the registers, memory, flags, ALU, buses, and datapath as the program executes. You can also set breakpoints, inspect execution cycles, replay previous cycles, and try some example programs. I built this because I wanted CPU architecture to feel more tangible. Reading about fetch, decode, registers, buses, and the ALU is one thing. Watching an instruction actually move through the CPU is much more…

    Aug 2026 · coretrace.srianjaneyam.me · its alternatives →

  12. 12

    A minimal C runtime for Linux i386 & x86_64. Contribute to lpsantil/rt0 development by creating an account on GitHub.

    2015 · github.com · its alternatives →

  13. 13

    An assembler for the LC-3 fictitious computer. Contribute to cellularmitosis/lc3as.py development by creating an account on GitHub.

    2020 · github.com · its alternatives →

  14. 14

    "interesting" VM in C. Let's see how this goes. Contribute to tekknolagi/carp development by creating an account on GitHub.

    2014 · github.com · its alternatives →

  15. 15

    Hello, World! written in seemingly "gibberish" x86 assembly using obfuscation on the assembly and machine code -level - phoreverpheebs/gibberish

    2023 · github.com · its alternatives →

  16. 16

    A simple command-line calculator written in Go. Contribute to alfredxing/calc development by creating an account on GitHub.

    2015 · github.com · its alternatives →

  17. 17

    Heap based scheme machine. GitHub Gist: instantly share code, notes, and snippets.

    2025 · gist.github.com · its alternatives →

  18. 18

    Faster LZMA decoder for x86 CPUs (patch for XZ Utils). - faster_lzma_decoder_x86.patch

    2021 · gist.github.com · its alternatives →

  19. 19
  20. 20

    Hi! me and my friends together built an 8 bit CPU implemented in Logisim purely from scratch. The control unit of this system does not implement the generic microcode ROM or any kind of RAM. This was made purely from discrete logic gates and coded the system to run different programs. key features: Custom 16-instruction Harvard ISA, 8-bit fixed format, 4 general purpose registers Hardwired control unit built entirely from AND/OR gate logic matrix Dual-phase clocking to eliminate race conditions Bootstrap Control Unit that cold-boots via ROM-to-RAM transfer Early-exit conditional…

    Jun 2026 · github.com · its alternatives →

  21. 21

    RISC-V's compressed instruction (RVC) extension is intended as an add-on to the regular, 32-bit instruction set, not a replacement or competitor. Its designers intended RVC instructions to be expanded into regular 32-bit RV32I equivalents via a pre-decoder. What happens if we explicitly architect a RISC-V CPU to execute RVC instructions, and "mop up" any RV32I instructions that aren't convenient via a microcode layer? What architectural optimizations are unlocked as a result? "Minimax" is an experimental RISC-V implementation intended to establish if an RVC-optimized CPU is, in practice, any…

    2022 · github.com · its alternatives →

  22. 22

    simple virtual machine and assembler. Contribute to ronsoros/rvm development by creating an account on GitHub.

    2016 · github.com · its alternatives →

  23. 23

    Github: https://github.com/errorcodezero/turbine

    2025 · errorcodezero.dev · its alternatives →

  24. 24

    Write your own compiler: introduction. Code genetation. AST. Abstract syntax tree. lisp. javascript.

    2017 · blog.klipse.tech · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →