4 ms·
At a minimum, that would require largely rewriting scipy, pandas, and any other piece of software that uses the CPython C extension interface rather than the FF
by ngoldbaum 11y ago
At a minimum, that would require largely rewriting scipy, pandas, and any other piece of software that uses the CPython C extension interface rather than the FFI.
That's a pretty tall order...
- filmor 11y agoSciPy and Pandas use Cython, so if that can ever be made runnable semi-directly in PyPy, those two are dealt with. Only NumPy uses the CPython API directly but this is being worked on as NumPyPy (see http://morepypy.blogspot.de/2015/02/linalg-support-in-pypynumpy.html http://morepypy.blogspot.de/2015/02/linalg-support-in-pypynu...).
- maxerickson 11y agoSciPy uses Cython, but it also uses other C interfaces. The most definitive statement I found in a couple minutes is here: http://www.scipy.org/scipylib/faq.html#how-can-scipy-be-fast-if-it-is-written-in-an-interpreted-language-like-python http://www.scipy.org/scipylib/faq.html#how-can-scipy-be-fast... SciPy uses a variety of methods to generate “wrappers” around these algorithms so that they can be used in Python. Some wrappers were generated by hand coding them in C. The rest were generated using either SWIG or f2py. Some of the newer contributions to SciPy are either written entirely or wrapped with Cython.
- pyre 11y ago> f2py This is a Fortran-to-Python interface, and has some support for Python 3 so far as I can tell.