DOOM running on a regex engine

Lobsters Hottest Tools

Summary

A developer demonstrates running the game DOOM using a regex engine as a computational substrate, performing millions of substitutions per frame.

<p><a href="https://lobste.rs/s/mfccui/doom_running_on_regex_engine">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 07/27/26, 09:43 AM

# DOOM on regex - find & replace as a computer Source: [https://4rh1t3ct0r7.github.io/doom-regex/](https://4rh1t3ct0r7.github.io/doom-regex/) ![the machine painting E1M1, with the actual substitution rules firing beside it](https://4rh1t3ct0r7.github.io/doom-regex/composite.gif) **13 994 067** **544** **96\.6 MB** **~80 000/s** ![the finished frame](https://4rh1t3ct0r7.github.io/doom-regex/e1m1_frame.png)

Similar Articles

56,000 lines of DOOM, in a language I made up

Hacker News Top

The author built a joke programming language called bet that compiles via LLVM, uses arena-based memory management, and successfully runs the full DOOM game (56,000 lines) without code review, relying only on tests.

Why fastDoom is fast

Fabien Sanglard

A detailed technical analysis of why the fastDOOM port achieves significant performance improvements over the original Doom executable, covering the history of Doom's source code lineage and specific optimization techniques.

Running ‘Doom’ on E. coli cells… very, very slowly

Lobsters Hottest

MIT researcher Lauren Ramlan published a paper demonstrating that the classic game Doom can be played on a display made from E. coli cells, though at an extremely slow frame rate that would take centuries to complete a single playthrough.

DOOMQL

Simon Willison's Blog

Peter Gostev built a Doom-like game using SQLite as the game engine, with ray tracing via recursive CTE, and integrated with Datasette for a real-time web interface. The project was created using GPT-5.6 Sol and demonstrates the creative potential of using SQL for game logic.