A SQL database in Rust: SQLite-compatible, now also speaking Postgres (experimental). The LLVM of databases.
Turso is a SQL database engine written in Rust that maintains SQLite compatibility while also experimentally supporting the PostgreSQL protocol. The project reimplements SQLite as a 40+ crate Rust workspace, encompassing a bytecode-interpreting query executor, B-tree storage engine, write-ahead logging system, SQL parser, and extension framework. The tech stack centers on Rust with bindings provided for C, Python, JavaScript, Java, .NET, and Go, plus an Entity Framework Core provider for .NET applications. The project includes both local embedded databases and remote cloud sync capabilities through the Turso Cloud platform, with testing infrastructure spanning TCL compatibility suites, Rust unit tests, deterministic concurrency simulators, and differential oracles for validation against SQLite.