Developer Proves that Doom can Run on TypeScript Types Only

|
- Doom has successfully been loaded using only TypeScript’s type system.
- The project took over a year and required 3.5 trillion lines of code.
- Doom on TypeScript was optimized from an initial estimated 1.25 petabytes to 177 terabytes.
The classic Doom (1993) was managed to load using only the TypeScript type system. The project included 3.5 trillion lines of code totaling 177 terabytes and a 12-day run to load the game’s first frame.
To accomplish this, the developer called Dimitri had to build a custom virtual machine using only TypeScript’s type system. On top of the creation of an isolated computing environment, he also crafted complex systems like memory management, garbage collection, and even the core logic needed to render the Doom game world within TypeScript.
It took Dimitri over a year of work and 12,364 custom tests to ensure each component worked as needed. The result is formed in a final codebase that is presumably the largest TypeScript project ever attempted.
It is worth noting that the developer managed to optimize the size of the project from an initially estimated 1.25 petabytes to 177 terabytes. However, the final project is still very large and requires a lot of time to be processed. It took twelve days to load the game’s first 320×200 pixel frame. As of yet, there is no footage of the game running on TypeScript Types.
Since its release, Doom has become the most popular object for experiments by creative programmers. The game already runs on PDF file, Google search bar, Captcha, Windows XP MS Paint, and Microsoft Word and is playable on many different devices.