crawshaw/sqlite
View on GitHub ↗ ★ 613 C
Go SQLite3 driver
8 mentions on Hacker News by 7 people: 0 stories, 8 comments · first 2022-01-29 · latest 2025-08-22
20082026
-
…its dicey enough to not expose in your public package. Here's the relevant commit in my fork: https://github.com/crawshaw/sqlite/commit/82ad4f03528e8fdc6a... I'm curious how OP's https://github.com/cvilsmeier/sqinn would fare, I'm somewhat…
comment by jitl · 2025-08-22 · in Benchmarks for Golang SQLite Drivers -
There are atleast two SQLite bindings for Go. https://github.com/crawshaw/sqlite https://github.com/eatonphil/gosqlite/ Ended up with the latter, but did have to add one function binding in C, to inspect changesets.
comment by RenThraysk · 2025-05-01 · in A faster way to copy SQLite databases between computers -
> You can get substantially better performance out of sqlite by using the lower level https://github.com/crawshaw/sqlite , turning on WAL etc, using a connection per goroutine for reads, and sending batches of writes over a buffered…
comment by SJC_Hacker · 2024-04-14 · in Redis re-implemented with SQLite -
…thread” model. You can get substantially better performance out of sqlite by using the lower level https://github.com/crawshaw/sqlite , turning on WAL etc, using a connection per goroutine for reads, and sending batches of writes over a…
comment by jitl · 2024-04-14 · in Redis re-implemented with SQLite -
…which is quite lovely, but I ran into issues with concurrency on read only databases. I'm now using https://github.com/crawshaw/sqlite and it seems to address those issues (but I haven't gotten around to setting up a proper test to…
comment by pstuart · 2022-05-13 · in SQLite in Go, with and Without Cgo -
Then there's crawshaw.io/sqlite ( https://github.com/crawshaw/sqlite ) which has some extra features.
comment by jks · 2022-05-13 · in SQLite in Go, with and Without Cgo -
crawshaw/sqlite actually uses CGo -- it's a wrapper around the C version of SQLite. For example, see https://github.com/crawshaw/sqlite/blob/23d646f8ac00d9dd2390... zombiezen/go-sqlite uses cznic's pure Go converted version of SQLite, so…
comment by benhoyt · 2022-01-29 · in A pure Go embedded SQL database -
There are a few go libs now that offer SQLite without cgo. https://github.com/crawshaw/sqlite https://github.com/zombiezen/go-sqlite
comment by bbss · 2022-01-29 · in A pure Go embedded SQL database