4 ms·
I'm hoping someday in the future your statement will sound silly. There's got to be some way we can avoiding rewriting all the libraries every time a new langu
by bioweek 17y ago
I'm hoping someday in the future your statement will sound silly. There's got to be some way we can avoiding rewriting all the libraries every time a new language comes around.
- davecardwell 17y agoThe Parrot VM [http://www.parrot.org/ http://www.parrot.org/] has been discussed here before: [http://news.ycombinator.com/item?id=552850 http://news.ycombinator.com/item?id=552850] Projects like this might help, but I suspect there will always be someone willing to port a library to be native.
- camccann 17y agoWell, auto-generating cross-language bindings so that you can make function calls between code written in arbitrary languages would be a good start. Limited subsets of this exist, usually variations on "how to call C libraries from other languages" since that's the most common scenario. For example, there's SWIG: http://www.swig.org/ http://www.swig.org/ Unfortunately, there tend to be subtle issues of impedance mismatch that make cross-languages bindings never feel quite right.
- jshen 17y agoclojure, scala, jruby, etc all can use java's large source of libraries.