Xs-vm – A small virtual machine written in Python
Xs-vm – A small virtual machine written in Python launched on July 20, 2015 with 34 votes, #1,483 of 4,208 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
Xs-vm is a Python-based virtual machine that executes ARM-like assembly code, designed for educational purposes. It supports fundamental operations including function calls, recursion, and stack management through a simple instruction set. The project prioritizes ease of development and learning over performance, making it suitable for students and developers exploring how virtual machines work at a basic level.
written from the facts on this page · September 2026
From the sources
The purpose of this project is to implement a simple virtual machine, capable of executing assembly code similar to ARM. I will keep it simple (so probably no operation modes, interrupt handling, etc) because I built it for educational purposes. Yet, it's powerful enough to do things like recursion (see the Fibonacci example ). Why Python? Development speed, as opposed to performance, is the key priority for this project so Python fits in perfectly. $ cat demos/function_call.s mov r1, #1 mov r2, #3 bl func1 swi #0 func1 push lr add r0, r1, r2 pop pc $ python run.py demos/function_call.s Instructions executed: 7 Instructions executed by type:…from gedrap.github.io
Does a similar job
all alternatives →
A small virtual machine written in C2014 · github.com · ▲212"interesting" VM in C. Let's see how this goes. Contribute to tekknolagi/carp development by creating an account on GitHub.
- VMVirtual Machines in the Browser2013 · blog.grunseid.com · ▲281
Vy – a powerful but retro and minimalist IDE2019 · github.com · ▲143A vim-like in Python. Contribute to vyapp/vy development by creating an account on GitHub.
- QAQ8, an In-Browser VM for Learning and Visualizing Bytecode Programming2017 · anchovieshat.github.io · ▲145
microvm – a minimalist machine type for QEMU inspired by Firecracker2019 · github.com · ▲145
Ephemeral VMs in 1 Microsecond2024 · github.com · ▲84Contribute to libriscv/drogon-sandbox development by creating an account on GitHub.
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 · 23d ago · openbot.run
Talanoa▲345Hi 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 · 28d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, July 2015
the whole month →
Hotjar▲1,312See how visitors are using your site and get visual feedback
Growth · 2015 · contentsquare.com
Spot the Drowning Child▲1,215Can you spot the drowning child in this crowded wave pool? To the untrained eye, drowning looks like swimming. The Instinctive Drowning Response is frequently missed, even by people nearby.
Life & fun · 2015 · spotthedrowningchild.com


Docker implemented in around 100 lines of bash. Contribute to p8952/bocker development by creating an account on GitHub.
Dev tools · 2015 · github.com


Guida completa ai siti scommesse americani 2026: scopri i migliori bookmaker USA, licenze, bonus, sport americani, metodi pagamento e consigli utili.
AI · 2015 · whoishiring.it