3 ms·
> why we still don't have a widely adopted approach to sharing libraries across languages We have C, lots of languages use C libraries. Pick a random language
by zzzcpan 8y ago
> why we still don't have a widely adopted approach to sharing libraries across languages
We have C, lots of languages use C libraries. Pick a random language and it probably has OpenSSL bindings.
- fauigerzigerk 8y agoThat's great for sharing libraries written in C. It doesn't generally solve the problem of reusing libraries across languages though.
- sevensor 8y agoNot only that, we have the Java and .NET runtimes, both of which can be used from many languages. I'd say, along with C, that makes three widely adopted approaches to sharing libraries between languages. Furthermore, C libraries don't even have to be written in C. It's far from unheard-of to use a more powerful language like a lisp or Ocaml to write a C library.