Home / Companies / Turso / Blog / Post Details
Content Deep Dive

Running unmodified Doom in the SQLite bytecode language

Blog post from Turso

Post Details
Company
Date Published
Author
Glauber Costa
Word Count
2,869
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

Turso, initially designed to rewrite SQLite in Rust with modern features like concurrent writes and Live Materialized Views, has evolved into a platform capable of executing complex operations by treating SQLite as a virtual machine that compiles SQL into bytecode. This bytecode language, akin to other languages like .NET or JVM, allowed Turso to run the classic game Doom by translating its C source code into SQLite's Virtual DataBase Engine (VDBE) bytecode, showcasing the adaptability and power of this approach. By leveraging LLVM to compile C to the VDBE and employing innovative solutions for challenges such as function pointers and memory management, Turso demonstrated the potential to reimagine databases like Postgres using this infrastructure. This endeavor lays the groundwork for further database innovations, inviting contributions from the community to expand the capabilities of Turso as the "LLVM of databases."

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 2,883 708 173 -49%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.