Switch language한국어
Back to the list

Successfully ran "DOOM" using only regular expressions, taking about 180 seconds to render one frame

TL;DR AI

Key summary

2 min read
  1. Developer Artem Litkin released “DOOM on regex,” a demo that runs DOOM using only regex search-and-replace operations.

  2. The project builds a virtual 32-bit CPU called RVM-1 and stores CPU state and game data in a single ~96.6 MB string.

  3. Execution advances through 544 replacement rules; rendering one frame takes about 13.99 million replacements and roughly 180 seconds.

  4. The demo was run in parallel on five machines and verified to match standard DOOM byte-for-byte and by SHA-256.

Read the original