Changelog Interviews

Turso is rewriting SQLite in Rust

Jan 30, 2025
Glauber Costa, co-founder and CEO of Turso, is reshaping database technology with Limbo, a transformative rewrite of SQLite in Rust. He delves into the limitations of SQLite's public domain status and the innovative LibSQL project designed for open contributions. Their use of Deterministic Simulation Testing ensures robust development, while engaging the community keeps the project dynamic. Glauber highlights the technical challenges of maintaining compatibility and introduces exciting enhancements like asynchronous I/O, all while paving the way for the future of database innovation.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Testing with DST

  • Deterministic Simulation Testing (DST) and Antithesis are key for robust testing in Limbo's rewrite.
  • This approach enables thorough bug detection and deterministic reproduction of complex failure scenarios.
INSIGHT

DST Implementation

  • Using DST requires writing code specifically for it and minimizing external dependencies.
  • Limbo prioritizes writing IO and timer functionalities to ensure deterministic simulation.
INSIGHT

Compatibility Goals

  • Limbo aims for compatibility with SQLite's features, language, ABI, and file format.
  • It prioritizes offering the same functionalities while allowing for new features and improvements.
Get the Snipd Podcast app to discover more snips from this episode
Get the app