dmars: A Modern Rust Toolchain for the Classic Core War Game

Dmars – A modern Core Wars toolchain

8holliplex💬 4

I built dmars, a Rust reimplementation of the classic pMARS Core War toolchain, to bring the 1984 programming game into the modern era. This project includes a full Redcode assembler and a high-performance simulator that runs battles in parallel, significantly outpacing the original. You can even fight classic warriors directly in your browser using WebAssembly or visualize the action with an interactive terminal UI.

"The same core compiles to WebAssembly, which is what's running the battle below."

More from this day · 2026-07-14