|
From: Alan K. <jyt...@xh...> - 2007-12-24 12:39:19
|
[Owen] > 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.) Most jython folks tend to use the java equivalent libraries with jython instead of C/C++; it is rare that java equivalents are not available (often the java versions are superior). Do you have any specific libraries in mind? Chances are someone here can advise if you have a specific need in mind. [Owen] > Is there a strategy for Jython to be able to use Python libraries that use > C/C++? Well, there is jpype, which integrates the cpython runtime with the java runtime. But I've never used it; perhaps someone else on the list has? http://jpype.sourceforge.net/ If you explain your requirements, you'll probably get some good advice. Regards, Alan. |