Developer Proves that Doom can Run on TypeScript Types Only

Developer Proves that Doom can Run on TypeScript Types Only
Listen to this article
0:00
Key points
  1. Doom has successfully been loaded using only TypeScript’s type system.
  2. The project took over a year and required 3.5 trillion lines of code.
  3. 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.

Previous article
Deadlock’s Latest Update Says Farewell To The Game’s Four Lanes
Next article
New Cryptic Killer Game Gets a Simultaneous Launch on Steam and Mobile in Summer 2025

Related articles

  • Doom is Now Running Inside PDF File
    Nintendo
    Doom is Now Running Inside PDF File
    • By Mik Dzisko
    • 20 January, 25
    • 2 min
  • Doom is Now Playable in Microsoft Word
    Nintendo
    Doom is Now Playable in Microsoft Word
    • By Mik Dzisko
    • 20 January, 25
    • 2 min
  • DOOM: The Dark Ages Gets the Launch Date and a Huge Cybernetic Dragon
    PC
    DOOM: The Dark Ages Gets the Launch Date and a Huge Cybernetic Dragon
    • By Mik Dzisko
    • 24 January, 25
    • 3 min
  • Nine Sols Wins ”Game of the Year” at Gamescom LATAM
    Gaming Industry
    Nine Sols Wins ”Game of the Year” at Gamescom LATAM
    • By Mik Dzisko
    • 49 minutes ago
    • 2 min