embedding jython in CPython...
Jim Hargrave
jhargraveiii at msn.com
Sat Jan 22 02:57:00 EST 2005
I've read that it is possible to compile jython to native code using
GCJ. PyLucene uses this approach, they then use SWIG to create a Python
wrapper around the natively compiled (java) Lucene. Has this been done
before for with jython?
Another approach would be to use JPype to call the jython jar directly.
My goal is to be able to script Java code using Jython - but with the
twist of using Cpython as a glue layer. This would allow mixing of Java
and non-Java resources - but stil do it all in Python (Jython and Cpython).
I'd appreciate any pointers to this topic and pros/cons of the various
methods.
More information about the Python-list
mailing list