← Monday, October 5, 2026DatabasesDeep dive

Doom’s game logic and renderer run in SQL at up to 60 Hz

cedardb.com 25 min read Editor score 7/10

Preview image for Doom’s game logic and renderer run in SQL at up to 60 Hz

The port runs Doom’s game loop at 35 FPS and renders 320×200 frames in SQL, with Python handling input, timing and display; multiplayer works too. It’s an unusual look at pushing a database beyond conventional query workloads.

What
SQLDoom runs the original Doom game logic and renderer inside a database, with Python handling input, timing, and display.
How
SQL game logic runs at 35 FPS and updates game state tables; the renderer reads that state and can produce frames independently, up to 60 Hz.
Why it matters
It demonstrates how database execution can host both application logic and rendering while separating the fixed game loop from frame requests.
game tic updates state bitmap Python SQL game logic game statetables SQL renderer
Python drives SQL game logic while the SQL renderer reads shared game state. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.