modernc.org/sqlite is a really neat way to embed the sqlite database engine in Go, it uses ccgo to transpile sqlite's original C code into Go code so there's no CGo interop at runtime and essentially no manually ported code to keep in sync with upstream. It's been around for years and is well tested.
ccgo would also be very useful for many other Go↔️C integrations however I've been unable to find much information about ccgo. It appears to have no readme, no docs, no blog posts, etc.
I have only found this one 25 minute conference video on sqlite and ccgo:
https://youtu.be/ry9yTAAVTfs
ccgo is developed almost solely by the video's presenter, Jan Mercl, as a hobby project, so I'm very grateful it even exists, but I'm not sure I'd want to take a dependency on it in a production system I need to support. I don't think I'd have the skills to debug a ccgo issue if I needed to.
The author appears to accept donations, and anyone taking advantage of modernc.org/sqlite, ccgo, or the other modernc.org packages, should consider donating, or getting involved in the maintenance and development of this very impressive tooling.
