Friday, April 25, 2025
All the Bits Fit to Print
Building a 3D text-based Doom clone using DuckDB-WASM SQL queries in the browser.
A developer built a text-based Doom clone running entirely in the browser using DuckDB-WASM, leveraging SQL queries for game logic and rendering.
Why it matters: It demonstrates SQL's unexpected power beyond data handling, enabling complex game state and 3D rendering calculations.
The big picture: Combining SQL recursion and JavaScript orchestration blurs language boundaries, showcasing new browser-based app possibilities with WASM databases.
The stakes: Performance hits and debugging complexity arise from using SQL for real-time game logic, making it impractical for production games.
Commenters say: They find the project impressive and wild, praising SQL’s versatility while recalling similar past database-driven experiments and expressing amazement at graphics done in SQL.