đŠ Turso Is Silently Dethroning SQLite
Todayâs Issue: Making Rustâs Reference Counting Friendlier, Jon Gjengset Chats with JetBrains, and a Look at Effects in Rust
Hello, Rustaceans
Hope you had a productive work week.
In this issue, weâll discuss Tursoâs beta release, present a Rust challenge, spotlight an amazing Rust project, and share 10 incredible links of the week.
Hereâs issue 88 for you!
MAIN NEWS
Turso Is Silently Dethroning SQLite
Last week was full of surprises, including a critical âUse After Freeâ vulnerability discovered in Redis thatâs been hiding in plain sight for 13 years.
Thirteen! Itâs a sharp reminder of why memory safety isnât just a talking point, itâs the whole ballgame.
Meanwhile, the Rustaceans over at Turso spent the week showing off what theyâve been cooking up, think of it as their own little Tech Week, but with way more Rust.
Their beta launch of a Rust-powered rewrite of SQLite wasnât just a flex, it was a glimpse at how the next generation of databases might run.
Here are a few features from the release that caught my eye:
Letâs start with Concurrent Writes. Using MVCC (Multi-Version Concurrency Control), Turso lets multiple transactions party at once without locking each other out. Benchmarks show up to 4x faster writes, and those
SQLITE_BUSY
errors? Gone. Your CPU cores finally get to earn their keep.Then thereâs Turso Sync, aka âDatabases That Teleport.â It lets your local SQLite instances sync seamlessly with the cloud, so your app can run offline, update data on the go, and magically sync when youâre back online. Conflict resolution? Handled. Edge deployment? Easy.
Oh, and Encryption? Yeah, thatâs native now. Turso bakes it right in. With just a ~6% read overhead, itâs fast, transparent, and open source. Perfect if your app deals with sensitive stuff like fintech data, user info, or the occasional spicy AI dataset.
SQLite walked so Turso could replicate, encrypt, and scale. Whether itâs in your browser, your edge node, or your secret AI bunker, your data can now follow you everywhere.
SQLite may have started as your trusty sidekick, but with Tursoâs upgrades, itâs starting to look suspiciously like the main character. TouchĂ©, Glauber Costa.
RUST CHALLENGE đŠ
Last week we had you solve the string compression challenge. Big thanks to Nicolas Di Caterina, Nicolas Roman Posner, Alonely0, Pantamis, Amaso, Wilson Miller, and Lesley Lai.
Mirror Index
Given a vector of integers, return the index i
such that the sum of all elements to the left of i
equals the sum of all elements to the right of i
.
If multiple such indices exist, return the middlemost one (closest to the center).
If none exist, return -1
.
Test your solution on Rust Playground. Once completed, please share your solution and tag us either on X, BlueSky, Mastodon, LinkedIn, or reply to this email.
Help Us Improve Rust Bytes
We just launched a short survey to better understand your needs and how we can make Rust Bytes even more useful (and fun) for you.
Your feedback means a lot, take a minute to share your thoughts.
PROJECT SPOTLIGHT đĄ
Typst
If youâve ever wrestled with LaTeX and thought, âThere has to be an easier wayâ, Typst is that way.
The problem Typst is tackling is simple but painful: writing beautiful, structured documents shouldnât feel like deciphering cryptic compiler errors.
LaTeX veterans know the drill, miss one curly brace, and suddenly your bibliography vanishes into the void.
Typst fixes that with a modern syntax, human-readable markup, and instant feedback, so you can focus on content, not debugging.
Hereâs why developers love Typst:
Blazing-fast compilation - Incremental builds mean your document updates in real time. No more coffee breaks between edits.
Simple markup, powerful logic - You can go from headings to recursive Fibonacci tables without leaving your
.typ
file.Built-in everything - Math, bibliographies, scripting, itâs all included out of the box. No endless
\usepackage
scavenger hunts.
Also to be noted is that Typst has friendly errors, and when things go wrong, it tells you why, in plain English. Revolutionary, right?
Typst is open-source on GitHub at https://github.com/typst/typst.
AWESOME LINKS OF THE WEEK đ
Niko Matsakis wrote about ongoing efforts to improve Rustâs ergonomic reference counting, proposing a new
Handle
trait to clarify shared ownership and âentanglementâ in cloned values.Databentoâs Rustaceans explained why their feed handler didnât get the Rust rewrite treatment - yes, sometimes ârewrite it in Rustâ isnât the answer.
Kilari Teja open-sourced ut, a fast, lightweight CLI toolkit bundling essential developer and IT utilities into one binary -because who needs fifty separate tools?
Vaktibabat wrote âFun With HyperLogLog and SIMDâ, a deep dive into low-memory cardinality estimation, boosted with SIMD and multithreading. It benchmarks across datasets and even outperforms several Python, Go, and Rust libraries.
PaweĆ Urbanek shows how to catch your Rust app slacking off with automatic performance profiling. No more manual detective work.
Jon Gjengset (author of Rust for Rustaceans) interviewed with JetBrains and talked about Rust, 400K salaries, AI, defense, and the ecosystem. [video]
Viacheslav Biriukov wrote Async Rust with Tokio I/O streams, demonstrating how blocking writes affect reads, how TCP backpressure emerges, and practical patterns to handle cancellation gracefully in complex async loops.
Alosoâs Effects in Rust (and Koka) compares Rustâs ownership and type system with Kokaâs expressive effect system, and debates ongoing Rust efforts such as keyword generics to support async, const, and fallible behavior more seamlessly.
Worakarn Isaratham from Agoda Engineering wrote why Agodaâs Feature Store runs faster and safer now that theyâve bet big on Rust.
Preventing Invalid Database Access At Compile Time demonstrates how to use Rustâs type system to prevent invalid database writes by distinguishing read-only and writable connections, catching misuse at compile time instead of runtime.
CodeCrafters: Become a Better Rust Engineer
CodeCrafters created amazing Rust courses that push your skills beyond the basics.
Youâll have fun building real-world projects from scratch, including Git, Docker, Redis, Kafka, SQLite, Grep, BitTorrent, HTTP Server, an Interpreter, and DNS.
The courses are self-paced, so you can learn at your own speed. If youâre itching to level up your Rust skills, these courses are perfect for you.
Join for free and get 40% off when you upgrade. [affiliate]
SUPPORT RUST BYTES
Youâre Rust Bytesâ biggest fans, and we love to see it.
Hereâs how you can help:
â€ïž Recommend Rust Bytes to your friends.
đ€ł Connect with us on our socials: X, BlueSky, Mastodon, Publication.
âïž Buy our editors a coffee.
đš Email us at rustaceanseditors@gmail.com for sponsorship, feedback or ideas.
I visited my friends and weâve been having good times together and laughs.
That's all for now, Rustaceans.
John & Elley.
Thanks for the introduction to Turso. I care a lot about database development in Rust, and somehow I didnât know about this project. To truly âbeatâ SQLite, Turso still has a long way to go though. SQLite is battle-tested, and memory safety is only one part of what a database has to get right.
I tried to find benchmarks across various workloads (read-heavy, write-heavy, mixed, concurrency stress, crash recovery), but there arenât any yet. Still, Turso looks promising, especially for multi-writer transactions, since SSDs are pretty much the default on devices nowadays.