Hacker News new | ask | show | jobs
by bombela 615 days ago
As long as you don't have C libraries to cross compile / link against of course ;)
1 comments

sqlite is the only thing that makes me sad I have CGO_ENABLED=0.
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