# Theseus

> **TL;DR.** Theseus is a static Windows/x86 emulator written in Rust by Evan Martin: it translates win32 binaries ahead of time into source code, then compiles that source into a native executable for the host CPU.

- **Category:** Developer Tools / Emulation / Binary Translation
- **Stage:** validating
- **Age:** 58 days
- **Origin date:** 2026-04-19
- **First detected:** 2026-04-21
- **Canonical URL:** https://earlyterms.com/term/theseus
- **Sources:** 6 primary URLs

## Definition

Theseus is a static Windows/x86 emulator written in Rust by Evan Martin: it translates win32 binaries ahead of time into source code, then compiles that source into a native executable for the host CPU. The translated program calls native SDL and native win32 glue directly, so there is no interpreter or JIT loop at runtime.

Martin published the idea on his blog [on April 19, 2026](https://neugierig.org/software/blog/2026/04/theseus.html) and open-sourced [evmar/theseus](https://github.com/evmar/theseus) — a successor experiment to his four-year-old [retrowin32](https://github.com/evmar/retrowin32) project. From first commit to running a DirectX + FPU + MMX test program took "a couple weeks," reframing Windows emulation as a compiler problem, not a runtime one.

## Example

Martin feeds a small Windows x86 game into Theseus. The translator emits source code for each basic block, hands it to an optimizing compiler, and the output is a native ARM64 or x86-64 binary that opens an SDL window and runs the game's first scene — no Rosetta, no dynamic recompilation.

## Analogy

Less like a car simulator, more like melting a Windows program down and recasting it as a native program of the host.

## Why it's emerging now

A well-known ex-Chrome engineer just open-sourced a Windows emulator that is not an emulator — it statically translates x86 binaries into native executables at compile time. From first commit to DirectX + FPU + MMX demo took two weeks, reviving a question binary-translation research mostly abandoned after Rosetta 2.

## Related terms

- *parent:* retrowin32
- *parent:* static binary translation
- *competitor:* dynamic binary translation
- *competitor:* Wine
- *competitor:* Box86
- *competitor:* Rosetta 2
- *related:* Theseus OS
- *related:* Ship of Theseus
- *related:* Wastrel (WebAssembly SBT)
- *related:* win32 subsystem
- *related:* SDL

## Sources

1. [Evan Martin - Theseus, a Static Windows Emulator](https://neugierig.org/software/blog/2026/04/theseus.html)
2. [evmar/theseus - GitHub repo](https://github.com/evmar/theseus)
3. [evmar/retrowin32 - predecessor project](https://github.com/evmar/retrowin32)
4. [HN submission (Apr 20, 2026)](https://news.ycombinator.com/item?id=47830332)
5. [HN submission (Apr 21, 2026)](https://news.ycombinator.com/item?id=47844245)
6. [Wikipedia - Binary translation (background)](https://en.wikipedia.org/wiki/Binary_translation)

---
_Generated by EarlyTerms · https://earlyterms.com/term/theseus_
