Using JRuby/Jython for Ruby/Python interoperability?

Posted by dbr on Stack Overflow See other posts from Stack Overflow or by dbr
Published on 2010-05-02T09:25:34Z Indexed on 2010/05/02 9:27 UTC
Read the original article Hit count: 425

Filed under:
|
|
|
|

Quite-probably a silly question, as I don't know much about Java/Jython/JRuby/bytecode, but..

I stumbled across _why's unholy again today.. It allows you to output Python bytecode from Ruby code.. Basically allowing them to produce the same bytecode..

Jython outputs Java bytecode, as does JRuby.. Since these both compile to the same bytecode, does this mean you could potentially use any Python library from Ruby, and Ruby libraries from Python?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about python