Are there any examples of this being done in Sage currently with some Java
> code?
>
I don't believe so - as William points out, jmol is the only thing in Sage
proper that even uses Java (and is executed definitely not using a library
interface, but just by asking it to start using the shell
Are there any examples of this being done in Sage currently with some Java
code?
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegrou
On Wednesday, 18 March 2015 05:03:07 UTC-4, Volker Braun wrote:
> Or do you have one particular java program that you want to call from
> Python? This can be made 100% solid. Just write C/C++ JNI bindings for the
> Java function that you want to call. Then access those bindings through
> Cyth
>
>
> Or do you have one particular java program that you want to call from
> Python? This can be made 100% solid. Just write C/C++ JNI bindings for the
> Java function that you want to call. Then access those bindings through
> Cython. And launch the JVM from the Cython code.
>
I believe this
You want a generic interface where you can arbitrarily dig around in the
JVM? This will probably crash a lot, depending on what you touch. Java is
strongly typed so the JVM will have internal assumptions on types etc.
Or do you have one particular java program that you want to call from
Python?