Go port of SQLite without CGo

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • sqlite

  • It could be clearer in the readme, but note that this is a machine translation from C to Go, repeated for every OS-Arch pair. Example of the one you're most likely to use in production: https://gitlab.com/cznic/sqlite/-/blob/master/lib/sqlite_linux_amd64.go

  • go-sqlite3

    sqlite3 driver for go using database/sql

  • I have an OSS project, sq which is a data-wrangling swiss-army knife for structured data. Think of it as jq for databases. It supports Postgres, SQLServer, MySQL and - relevantly - SQLite. It embeds SQLite via CGo and the mattn/go-sqlite3 driver.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • goreleaser

    Deliver Go binaries as fast and easily as possible

  • More recently, a lot of my pipeline pain is handled by GoReleaser, but before GoReleaser matured, I got up to all sorts of shenanigans to get a workable toolchain, e.g. neilotoole/xcgo.

  • xcgo

    Golang cross-platform builder docker image with CGo and other tooling

  • More recently, a lot of my pipeline pain is handled by GoReleaser, but before GoReleaser matured, I got up to all sorts of shenanigans to get a workable toolchain, e.g. neilotoole/xcgo.

  • sq

    sq data wrangler

  • Thankfully I no longer need to maintain xcgo, but even today, the sq pipeline is still complex with lots of platform-dependent bits.

  • go-sqlite3

    Go bindings to SQLite using wazero (by ncruces)

  • For another way of doing SQLite without CGo, see github.com/ncruces/go-sqlite3.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts