3 ms·
>Because a library written in Go will only be useful in Go (a major shortcoming of Go) I claim that C, C++ and Java are the only languages whose libraries are
by blablabla123 14y ago
>Because a library written in Go will only be useful in Go (a major shortcoming of Go)
I claim that C, C++ and Java are the only languages whose libraries are heavily used from other languages. For other languages it's often better to interface via some kind of Network socket.
Surely there are Go libraries like there are Ruby libraries. But which C user seriously would want to interface a Ruby library?
Long story short: this is why Go code does not need to be called from C. :-) Different story in 5 years, in case Go is then sufficiently widespread.