3 ms·
Numba and especially cython are bolted on hacks to deal with the poor performance of the interpreter. Could you explain this a little - What is so fundamentall
by sandGorgon 13y ago
Numba and especially cython are bolted on hacks to deal with the poor performance of the interpreter.
Could you explain this a little - What is so fundamentally broken about pypy/numba ? From the little I have read [1], it looks like they are inferring types to enhance performance and does a jit (just like Julia).
I am of course wondering if the magic of Julia cannot be ported on top of Numba or something.
[1] http://continuum.io/blog/numba_performance http://continuum.io/blog/numba_performance
- aldanor 13y agopypy is generally incompatible with CPython libraries -- most notable being plain vanilla numpy. There are ongoing attempts to port numpy to pypy (numpypy), but other than that you're just left with pure python and pure python libraries. Numba/Cython restrict what kind of code you can write so they can (jit-)compile it. Cython is less restrictive since it's more mature but it uses special syntax and is technically not python anymore.