Deep dive into Turso, the “SQLite rewrite in Rust”
by unsolved73 on 1/29/2026, 2:51:56 PM
https://kerkour.com/turso-sqlite
Comments
by: mickrich345
I never read this article by the C developers before. It's so odd to read a level headed C vs. Rust take on the internet.<p><a href="https://sqlite.org/whyc.html" rel="nofollow">https://sqlite.org/whyc.html</a>
1/30/2026, 3:56:56 AM
by: dang
Related. Others?<p><i>Turso is an in-process SQL database, compatible with SQLite</i> - <a href="https://news.ycombinator.com/item?id=46677583">https://news.ycombinator.com/item?id=46677583</a> - Jan 2026 (102 comments)<p><i>Beyond the SQLite single-writer limitation with concurrent writes</i> - <a href="https://news.ycombinator.com/item?id=45508462">https://news.ycombinator.com/item?id=45508462</a> - Oct 2025 (70 comments)<p><i>An adventure in writing compatible systems</i> - <a href="https://news.ycombinator.com/item?id=45059888">https://news.ycombinator.com/item?id=45059888</a> - Aug 2025 (12 comments)<p><i>Introducing the first alpha of Turso: The next evolution of SQLite</i> - <a href="https://news.ycombinator.com/item?id=44433997">https://news.ycombinator.com/item?id=44433997</a> - July 2025 (11 comments)<p><i>Working on databases from prison</i> - <a href="https://news.ycombinator.com/item?id=44288937">https://news.ycombinator.com/item?id=44288937</a> - June 2025 (534 comments)<p><i>Turso SQLite Offline Sync Public Beta</i> - <a href="https://news.ycombinator.com/item?id=43535943">https://news.ycombinator.com/item?id=43535943</a> - March 2025 (67 comments)<p><i>We will rewrite SQLite. And we are going all-in</i> - <a href="https://news.ycombinator.com/item?id=42781161">https://news.ycombinator.com/item?id=42781161</a> - Jan 2025 (3 comments)<p><i>Limbo: A complete rewrite of SQLite in Rust</i> - <a href="https://news.ycombinator.com/item?id=42378843">https://news.ycombinator.com/item?id=42378843</a> - Dec 2024 (232 comments)
1/29/2026, 10:12:40 PM
by: Havoc
I’d imagine this will go a bit like the rust rewrite of sudo etc. Despite the memory safety advantages at least towards the start it still ends up more fragile because the incumbent has years of testing and fixing behind it
1/29/2026, 4:22:06 PM
by: gus_massa
I was surprised that the test suit not open source. Some info in <a href="https://sqlite.org/testing.html" rel="nofollow">https://sqlite.org/testing.html</a><p>It looks like some parts are open source and other not. Does anyone know more about the backstory? (It looks like one is a custom program that generate fuzz test. Do they sell it to others SQL engines?)
1/29/2026, 4:29:01 PM
by: rantingdemon
This is very shallow for a supposed deep dive.<p>I'm not ready to entertain Turso as an alternative to something that is as battle tested as Sqlite.
1/29/2026, 4:28:27 PM
by: ndiddy
The thing that worries me the most about Turso is that rather than the small, stable team running SQLite, Turso is a VC backed startup trying to capitalize on the AI boom. I can easily see how SQLite's development is sustainable, but not Turso's. They're currently trying to grow their userbase as quickly as possible with their free open source offering, but when they have investors breathing down their necks asking about how they're going to get 100x returns I'm not sure how long that'll last. VCs generally expect companies they invest in to grow to $100 million in revenue in 5-10 years. If your use of their technology doesn't help them get there, you should expect to be rugpulled at some point.
1/29/2026, 4:23:43 PM
by: uwemaurer
I recently benchmarked different SQlite implementations/driver for Node. Better-sqlite3 came out on top of this test: <a href="https://sqg.dev/blog/sqlite-driver-benchmark/" rel="nofollow">https://sqg.dev/blog/sqlite-driver-benchmark/</a>
1/29/2026, 4:37:18 PM
by: sauercrowd
> ... most of which can be fixed by a rewrite in Rust<p>huh? That is clearly not the case. memory bugs - sure. Not having a public test suite, not accepting public contributions, weakly typed columns and lack of concurrency has nothing to do with the language. They're governance decisions, that's it.<p>>I see this situation trhough the prism of the innovator's dilemma: the incumbent is not willing to sacrifice a part of its market to evolve, so we need a new player to come and innovate.<p>I don't think the innovators dilemma quite applies in the open source world. Projects are tools, that's it. Preserving a project for the sake of preserving it isn't a good idea.<p>If people need to run a sqlite db in these exotic places, shedding it means someone else has to build their own tool now that can do it. Sqlite has decided that they care about that, so they support it, so they can't use rust. Seems sound.<p>Projects coming and going is a good thing in open source, not a bug.
1/29/2026, 4:04:30 PM
by: TeaVMFan
For the Java ecosystem, H2 fills this gap nicely, easily handling both in- memory and remote JDBC access:<p><a href="https://frequal.com/java/TheBestDatabase.html" rel="nofollow">https://frequal.com/java/TheBestDatabase.html</a>
1/29/2026, 5:27:17 PM
by: tln
Where is the "networked mode" in Turso? Turso's readme and docs do not mention anything like this
1/29/2026, 3:51:35 PM
by: w-m
At the current rate of progress I'm wondering how long it will take for llm agents to be able to rewrite/translate complete projects into another language. SQLite may not be the best candidate, due to the hidden test suite. But CPython or Clang or binutils or...<p>The RIIR-benchmark: rewrite CPython in Rust, pass the complete test suite, no performance regressions, $100 budget. How far away are we there, a couple months? A few years? Or is it a completely ill-posed problem, due to the test suite being tied to the implementation language?
1/29/2026, 4:22:22 PM
by: adzm
I hate to be negative, but where is the deep dive? This is a shallow overview of Turso's features and some of the motivation behind it. Am I missing something?
1/29/2026, 4:11:18 PM
by: 9rx
<i>> A database that can scale from in-process to networked is badly needed</i><p>Why not Postgres? <a href="https://pglite.dev" rel="nofollow">https://pglite.dev</a>
1/29/2026, 3:32:32 PM
by: IshKebab
Good article though it kind of stopped just when I thought the deep dive was about to start.
1/29/2026, 6:31:53 PM
by: sgammon
Wow what a terrible and misleading article
1/29/2026, 4:36:37 PM
by:
1/29/2026, 4:22:24 PM
by: gethly
let's play a little game known as "count the unsafe"<p><a href="https://github.com/search?q=repo%3Atursodatabase%2Fturso%20unsafe&type=code" rel="nofollow">https://github.com/search?q=repo%3Atursodatabase%2Fturso%20u...</a>
1/29/2026, 5:32:20 PM
by: yunohn
What a breath of fresh air to read a blog not written by AI, with actual human learnings and opinions. Thanks for the write up!
1/29/2026, 3:40:10 PM
by: cracki
Stop rewriting everything in Rust.
1/29/2026, 11:02:30 PM