Hacker News new | ask | show | jobs
by akira2501 615 days ago
sqlite is the only thing that makes me sad I have CGO_ENABLED=0.
2 comments

This non-cgo port might help - I started using it recently and it's fine but I'm not exactly a demanding user https://pkg.go.dev/modernc.org/sqlite
It's still pretty slow, but overall correct. There's tricks, like reader connections and a single writer connection to reduce contention. There was a blog post on here detailing some speedups in general.
Use the new sqlite wasm wrapper that works on any platform