Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libc
-
Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
I don't think I understand what the argument for that is, because I've only ever heard it articulated as "cgo isn't go" which doesn't really convey much information.
Is this go? https://gitlab.com/cznic/libc/-/blob/master/libc_openbsd.go?...
I mean technically I suppose it is code that conforms to the go language grammar, but I'm not sure why a language purist would accept this.
- Go port of SQLite without CGo
-
SQLite in Go, with and without cgo
Maybe you can contribute a fix? The related discussion is here: https://gitlab.com/cznic/libc/-/issues/20
Sqinn-Go
-
Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it
Note that Squinn is not "native go" or "go only", but the owner insists on misleading people:
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
- SQLite in Go, with and Without Cgo
-
SQLite in Go, with and without cgo
If you want to avoid cgo, consider sqinn as well: benchmarks.
-
A remote JSON interface for SQLite, in Go
Of course, it may seem... odd to add a remote interface to an embedded database, but I think that it fits some niches well, especially when decoupling persistence and logic is needed, without renouncing to the expressivity of SQL. It was inspired by PostgREST, but it’s much more “low level” – and it should be even simpler to adapt to some cases. Also, it serves the same purpose of sqinn but with a more general interface.
-
Go performance from version 1.2 to 1.18
Why don't you try a pure-Go implementation? Should have enough features implemented for basic use
What are some alternatives?
sqlite
go-sqlite3 - sqlite3 driver for go using database/sql
go-sqlite3 - Go bindings to SQLite using wazero
sqlx - general purpose extensions to golang's database/sql
homebrew-musl-cross - Homebrew Formula for static-friendly musl-based GCC macOS-to-Linux cross-compilers
vertica-sql-go - Official native Go client for the Vertica Analytics Database.
purego
godror - GO DRiver for ORacle DB
go-sqlite - pure-Go SQLite driver for Go (SQLite embedded)
go-mssqldb - Microsoft SQL server driver written in go language
ctlstore - Control Data Store
go-sql-driver/mysql - Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package