[SciPy-Dev] Using Pythran to compile some of the scipy internals

Daπid davidmenhur at gmail.com
Mon Jan 22 10:34:32 EST 2018


On 20 January 2018 at 11:10, Serge Guelton <serge.guelton at telecom-
bretagne.eu> wrote:

> = Cost?
>
> This adds an extra dependency on Pythran, which uses C++ as backend.
> This increases the failure surface. Although alive since 2012 and being
> tested a lot [1] on Linux (but scarcely on Windows), its is obviously
> less mature than cython
>

I think this is a blocker, but it seems it is on its way to be fixed:

"Pythran supports Python *2.7* and also has a beta Python *3* support."

scipy has a lot of Cython code, much of it fairly well tested, which can be
very useful for testing Pythran itself.

A question, does Pythran eliminate the need for storing intermediate
results? Like (a*a).sum(axis=1) for a large a, will it store the full
a-squared? (If it is, I'd be very sorry I didn't run into it earlier, and
very happy I finally did).


/David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20180122/972000be/attachment.html>


More information about the SciPy-Dev mailing list