FWIW, there's modernc.org/sqlite which already provides pure Go sqlite implementation.
Might be useful to test your own implementation against.
Might be useful to test your own implementation against.
But for the point I was making, it is in fact not an alternative. In my version each SQLite connection is confined to a sandbox, and a C memory bug cannot corrupt the Go runtime, call stack or heap. In their version, a C pointer becomes an unsafe.Pointer that can address all Go memory.