Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


The Parrot VM [http://www.parrot.org/] has been discussed here before: [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.


Well, 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/

Unfortunately, there tend to be subtle issues of impedance mismatch that make cross-languages bindings never feel quite right.


clojure, scala, jruby, etc all can use java's large source of libraries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: