Convert CPython library with C Code to Jython and Java

Thomas nex8 at gmx.net
Tue May 13 09:21:49 EDT 2003


Gerhard Häring <gh at ghaering.de> wrote in message news:<mailman.1052782602.28726.python-list at python.org>...
> Thomas wrote:
> > Hello!
> > 
> > I want to port a Python library that contains C code to Jython and
> > Java. What is the easiest way to do that?
> > 
> > (1) Convert C library to Java.
> > (2) Somehow integrate compiled .pyd library into Jython and Java.
> > (3) Any other solution?
> > 
> > Since I don´t have enough C know-how, I would prefer not to go for
> > option (1). Can you recommend me any workaround?
> 
> Option 2): In theory, JPE is the simplest solution: 
> http://www.arakne.com/jpe.htm
> But I think JPE is unfinished.
> 
> If 1) is feasible and you have somebody proficient in both C and Java 
> (for example yourself), I think it might be the best option.
> 
> -- Gerhard

Thanks, Gerhard, I try to check out JPE!




More information about the Python-list mailing list