Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interoperability of Scala and Jython

I would think that since they both run on the JVM, Scala and Jython could be used together. How well do they interface? Can you make calls to Scala libraries from Jython? What about Jython libraries from Scala?

like image 755
Keith Pinson Avatar asked Aug 12 '11 17:08

Keith Pinson


1 Answers

Take a look at this report from Daniel Spiewak who, at the recent OSCON, discussed the interoperability issue with various JVM language creators. It won't answer any of your questions, but might give you a better understanding of the possible issues.

One thing, though, I can tell you for sure. Since Scala can be called from Java, then anything that can call Java can call Scala. As for Scala calling Jython, that depends on whether Java can call Jython -- if it can, then it is possible. Interoperability issues might exist, however.

like image 174
Daniel C. Sobral Avatar answered Nov 20 '22 08:11

Daniel C. Sobral