On Mon, 16 Sep 2024, Thomas Klausner wrote:
I've renamed the moderncsqlite option to soju-moderncsqlite since it's specific to the package.
Technically, it's not specific to the package. But we can rename it again if/when there is another package with this option.
Basically, in Go, there are multiple SQLite drivers. There is mattn/go-sqlite3, which uses cgo and compiles the C sqlite3 as part of the build. Some people don't like this, as it makes it much harder to cross-compile.
Then there is the "modernc.org" sqlite package, which is pure Go. AIUI, its code is machine-translated. Unfortunately, it is built on a base layer (modernc.org/libc) that reimplements all libc headers and needs special code per architecture. AIUI, NetBSD/amd64 is supported but not ARM nor i386.
Good on the package authors that you can choose :) Personally, I would always build without the modernc stuff if possible.
-- Benny