开发者

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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜