> In Go I can only write libraries for Go programs.
That's not true. It's quite simple to create a loadable shared object in go and call it using anything with a c ffi.
That's not true. It's quite simple to create a loadable shared object in go and call it using anything with a c ffi.
[1] https://www.cockroachlabs.com/blog/the-cost-and-complexity-o...
As proof, notice that it barely happens, and only as an oddity in Go, yet in rust there are actual uses (e.g. ruby and python library optimization)