Port old software with AI: recover lost source and rebuild old programs
Many old programs survive only as executables, with the source code lost and no build that runs on a modern system. The projects on this page used a language model to bring such programs back. Some rebuilt working C, C++, Rust or TypeScript from DOS, Apple II, Commodore 64 or early Windows binaries. Others reconstructed a game from scripts, manuals and old logs, or recompiled it to run natively on new hardware. The usual method is to have the model disassemble the binary, document file formats and logic, and then write a new implementation that can be compared with the original, ideally by replaying the same input and checking the output. Where the authors report it, the results range from complete, playable ports to partial rebuilds that are still in progress. Each entry links the source and lists the model, tools, outcome and what the human had to fix.
- Projects
- 14
- Outcomes
- Works8Partial6
- Models used
- Claude9GPT4
The projects
Share the writeup or repo, and what the AI got right and wrong.
Related guides
Common questions
It can produce new source that behaves like the original. Projects here rebuilt DOS, Apple II, C64 and Windows programs this way. The result is a reconstruction, not the original source, and it needs testing against the real program.
The strongest checks compare behaviour directly: replaying a recorded demo tick for tick, running behaviour cases against the original code, or compiling functions to matching bytes.
C and C++ are most common for close rebuilds. Some projects ported to TypeScript or JavaScript to run in a browser, and one ported to Rust.




