MartyPC is a cross-platform emulator of early PCs written in Rust
Another day, another Rust project that makes you wonder why we ever tolerated C++ for anything. MartyPC isn't just another emulator slapped together with SDL and a prayer — it's a serious attempt at cycle-accurate emulation of early IBM PC hardware, written in a language that actually respects your memory. The retro computing scene has been dominated by C-based emulators like DOSBox for decades, and while those work, they're showing their age in the same way the hardware they emulate does.
What makes this interesting isn't just the language choice, though. It's the philosophy. The project isn't trying to be DOSBox 2.0 — it's aiming for accuracy over convenience, targeting the 8088/8086 era specifically and doing it properly. That means timing-accurate video, proper DMA behavior, and all the weird quirks that made early PC programming such a delightful nightmare. For developers who grew up on that hardware, this is like finding a perfectly preserved museum piece, except it actually boots.
The Rust angle matters here more than you might think. Emulators are the kind of software where memory safety bugs manifest as "my game crashes at a random point" or worse, "my emulated OS corrupts its own disk image." Rust's ownership model catches a whole class of these bugs at compile time. The project's use of modern tooling — cargo, proper testing, clean architecture — is a breath of fresh air compared to the spaghetti code that's been holding up 25-year-old emulators.
Of course, the HN thread is already full of people asking "but can it run Doom?" which misses the point entirely. This isn't about Doom. This is about preserving the history of computing, understanding how these machines actually worked, and doing it with code that doesn't make you want to gouge your eyes out. If you're a developer interested in what cycle-accurate emulation looks like in a modern language, check out the site at the source and give it a spin. Your 486 nostalgia will thank you.
