3 ms·
Man this is exactly what I need at a high level but not writing this in C is a complete show-stopper. All that Docker effluvium adds insult to injury. Sad!
by jhatemyjob 3y ago
Man this is exactly what I need at a high level but not writing this in C is a complete show-stopper. All that Docker effluvium adds insult to injury. Sad!
- aleksi 3y agoFerretDB 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
- winrid 3y agoIt's mostly meant as a service. This is a great application for Go.
- mst 3y agoYou can run the underlying single static binary as a service any non-docker way you like. Your applications would be talking to it over a socket using a known and documented protocol so the implementation language isn't something the client code should be expected to need to care about at all. Given those two facts, I genuinely don't understand what your concerns are here?