[SciPy-Dev] Numba as a dependency for SciPy?

Ralf Gommers ralf.gommers at gmail.com
Sat Mar 10 00:31:58 EST 2018


On Thu, Mar 8, 2018 at 1:38 AM, Pauli Virtanen <pav at iki.fi> wrote:

> Ralf Gommers kirjoitti 08.03.2018 klo 08:04:
> [clip]
>
>> Also, I don't think performance will necessarily be unacceptable. There
>> are
>> a bunch of places in the existing code base where we can throw in @jit and
>> get speedups basically for free. Performance in the noop case will then be
>> what it is today - not great, but apparently also not enough of a problem
>> that someone has attempted to go to Cython.
>>
>
> I guess you agree that Numba would regardless be declared a dependency in
> setup.py? People on unsupported arches can edit it away manually.
>

Yes, that's what I was thinking.


>
> For computational tight loops operating on arrays when Numba is used as an
> alternative to Cython/C/Fortran, there probably will be a performance hit
> in the ballpark of 100x.
>
> If we are planning to use numba features more fully, e.g. numba.cfunc e.g.
> to write callback functions, that would also require Numba as a hard
> dependency.


Yeah, looks like it's too early for that due to portability concerns.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20180309/3b70403b/attachment.html>


More information about the SciPy-Dev mailing list