On Dec 23, 2007 8:47 PM, backspaces <ow...@ba...> wrote:
> I was surprised when I found out just how many of CPython's libraries/modules
> are written in C/C++, thus potentially rendering Jython less useful due to
> its not being able to run these libraries. (I may be wrong here, but as far
> as I know, Jython cannot run Python libraries that include C/C++
> dependencies.)
>
> Is there a strategy for Jython to be able to use Python libraries that use
> C/C++?
The C portion of the module is generally ported to Java and Jython
uses that version. There are about 30 modules that have been ported
in org.python.modules. For things that don't really need the speed of
C, sometimes a pure Python version is written.
Charlie
|