A developer revived their custom stack-based bytecode VM (UVM) and built a Clang/LLVM IR backend for it using AI assistance. After Claude Opus wrote an LLVM IR parser in Rust in ~20 minutes, a working compiler was completed in days. The author then ported Doom to run on UVM using Claude Code in about an hour, optimizing it from ~27 FPS to ~86 FPS through palette lookup tables and improved frame buffer upsampling. The project is open source, and future plans include refactoring UVM to use a register-based instruction set for better performance.
16.2K Impressions1 Comment