[pypy-dev] Questions Regarding Scipy in Pypy (Not a Feature Request)

Stefan Behnel stefan_ml at behnel.de
Thu Aug 9 07:50:50 CEST 2012

David Cournapeau, 08.08.2012 23:59:
> On Wed, Aug 8, 2012 at 6:32 PM, Matti Picus wrote:
>> Someone tried getting f2py working on pypy a while ago, a quick search
>> turned up
>> http://www.dalkescientific.com/writings/diary/archive/2011/11/09/f2pypy.html
>> and a fork of code at
>> https://bitbucket.org/pypy/f2pypy
>> Perhaps that could be a starting point?
> Yes, definitely, although there are tools which are better architected
> like fwrap (https://github.com/kwmsmith/fwrap).
> I would expect something based on f2py to be the fastest route,
> though. fwrap would more likely lend to something that could be
> contributed by and useful to both cpython and pypy-based
> implementations.

FWIW, another reason why fwrap is popular, besides a better design, is that
it can automatically generate Cython declarations for a Fortran wrapper, so
it already supports two targets. Adding PyPy as a third one would reduce
the need for users to learn new tools.


More information about the pypy-dev mailing list