3 ms·
With modernc version there are also a lot less compiling hurdles for niche devices, I have a bunch of apps that use the modernc version because it was the easie
by mattrighetti 4y ago
With modernc version there are also a lot less compiling hurdles for niche devices, I have a bunch of apps that use the modernc version because it was the easiest solution to compile the binary for a 32-bit ARM device like the Raspberry Pi.
- ainar-g 4y agoYep! This is pretty much the main reason I don't use SQLite in Go unless I know that the project won't ever be compiled on anything other than what the devs and the server run. Simple and easy cross-compilation is one of Go's often forgotten selling points, and depending on how you want to use SQLite, using CGo may or may not be a good solution for you.
- cpuguy83 4y ago32-bit pi is not a niche device. - Load up Debian - install cross-build-essential - dpkg --add-architecture armhf - install the lib you want to link - set "CC" to the armhf compiler - go build