Hacker News new | past | comments | ask | show | jobs | submit login

most numerical algorithms are loops over arrays, accumulators and simple arithmetic. this is where numba shines.

for the other cases, there's a python compatibility mode (on by default) that allows for use of arbitrary python.

the hard parts in numba are ensuring type inference works correctly and adding it to existing python environments that might have dependencies pinned at inconvenient versions or other drama associated with adding an entire llvm to your python environment.

also, there's the explosion of python versions cross numpy/mkl versions cross distributions cross bitwidths... but that's the nature of publicly shipping numerical code in python in general.

all that said, when it's all set up, numba can be quite elegant and simpler than cython.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: