3 ms·
FerretDB is written in Go, can be used as a Go library, and you could call it from C via CGo… But I would not do that :)
by aleksi 3y ago
FerretDB is written in Go, can be used as a Go library, and you could call it from C via CGo… But I would not do that :)
- jhatemyjob 3y agoHaha. The thought process behind using Go was probably like: "Great! SQLite is written in C. That means I can write my library in Go! And use microservices!"
- aleksi 3y agoFWIW, we use a version of SQLite transpiled into Go to avoid CGo problems: https://gitlab.com/cznic/sqlite https://gitlab.com/cznic/sqlite