sqlite: A CGo-free port of SQLite/SQLite3
tosh
48 points
33 comments
June 07, 2026
Related Discussions
Found 5 related stories in 88.4ms across 10,002 title embeddings via pgvector HNSW
- SQLite Release 3.52.0 chungy · 16 pts · March 06, 2026 · 54% similar
- SQLite Release 3.53.0 thunderbong · 12 pts · April 09, 2026 · 53% similar
- SQLite Is a Library of Congress Recommended Storage Format whatisabcdefgh · 123 pts · May 06, 2026 · 53% similar
- Sqlit – A lazygit-style TUI for SQL databases MaxTeabag · 15 pts · May 25, 2026 · 52% similar
- Modern SQLite: Features You Didn't Know It Had thunderbong · 197 pts · April 02, 2026 · 52% similar
Discussion Highlights (6 comments)
pstuart
So is this a handmade port vs the translated port done by modernc?
yodon
Seems like there are some trademark issues with just calling this SQLite.
jsherer
I was confused a few weeks ago. Check out the go pkg: https://pkg.go.dev/modernc.org/sqlite 1. gitlab.com/cznic/sqlite is the primary repo 2. github.com/cznic/sqlite was the github mirror but it moved 3. github.com/mordernc-org/sqlite is the read-only mirror of the primary repo Cheers!
ftgffsdddr
Gitlab requires js Would you please host it on a different forge, eg codeberg
usrnm
The readme really lacks the answer to the "why" question. What's the use case, why should I prefer it over real sqlite?
ncruces
There's also my take on this [1], which does machine translation from C to Go via Wasm using [2]. It's a somewhat less faithful translation, since I manually ported the VFS (SQLite OS abstraction layer). OTOH, each SQLite connection is sandboxed (can't access/corrupt Go memory, or other SQLite connections). And it should run everywhere Go runs. 1: https://github.com/ncruces/go-sqlite3 2: https://github.com/ncruces/wasm2go