I

I built an 8-bit CPU simulator in Python from scratch

Hacker News

I built an 8-bit CPU simulator in Python from scratch

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.

Share card

Actual performance

72points
19comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
71%71% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntOn track for Day 1 leaderboard · Strong signals: computer, visual, tiny · Missing: mac, agents, macos
67%67% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
48%48% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
48%48% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: visualize · Missing: mobile apps, ios, personal
36%36% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
21%21% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

8-
8-bit CPU simulator in C63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

8-bit CPU simulator in C

Hacker News67
Bi
Bit Serial CPU60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bit Serial CPU

Hacker News99
Sp
Speculative Decoding from Scratch in PyTorch (2.8x CPU Speedup)50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Speculative Decoding from Scratch in PyTorch (2.8x CPU Speedup)

Hacker News4
I
I Built a Digital Circuit Simulator to Build an 8bit CPU42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I Built a Digital Circuit Simulator to Build an 8bit CPU

Hacker News3
I
I Am Making an 8-Bit CPU in Logisim62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I Am Making an 8-Bit CPU in Logisim

Hacker News5
Ho
Homemade 32-bit CPU and OS (2015) [video]65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Homemade 32-bit CPU and OS (2015) [video]

Hacker News253
1-
1-Bit Better Off Alone on Custom Forth CPU [video]55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

1-Bit Better Off Alone on Custom Forth CPU [video]

Hacker News1
On
Online challenge: Build a CPU from scratch54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Online challenge: Build a CPU from scratch

Hacker News143
Me
Metrace – easy Python CPU/memory tracing43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Metrace – easy Python CPU/memory tracing

Hacker News3
Gi
Git, from scratch, in Python, Spelled out72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Git, from scratch, in Python, Spelled out

Hacker News20