# An adventure in writing compatible systems

DevFeed: [An adventure in writing compatible systems](<https://devfeed.tech/articles/an-adventure-in-writing-compatible-systems-5886.md>)

Original publisher: [Read original article](<https://turso.tech/blog/an-adventure-in-writing-compatible-systems>)

Author: Glauber Costa

Published: 2025-08-28T00:00:00Z

Content type: article

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [Turso](<https://devfeed.tech/topics/turso.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [data](<https://devfeed.tech/tags/data.md>), [rust](<https://devfeed.tech/tags/rust.md>), [software](<https://devfeed.tech/tags/software.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [testing](<https://devfeed.tech/tags/testing.md>), [turso](<https://devfeed.tech/tags/turso.md>)

## AI overview

This article describes Turso, a Rust rewrite of SQLite designed to preserve SQLite compatibility while adding features such as concurrent writes, encryption, and change-data capture. It investigates a reproducible data-corruption bug triggered when a database crossed the 1 GB boundary and explains how deterministic simulation testing initially missed it because fault injection prevented test databases from reaching that size.

## Source excerpt

Rewriting existing software is hard. Compatibility can take unexpected turns!