Numba dependency #215
Replies: 2 comments 3 replies
-
@CommonClimate I don't see too much of a worry with Numba maintenance at the moment. It's better maintained than any of the alternatives (like Cython or Pythran) I'd say, and that won't change any time soon. More importantly, while Numba is a fairly heavy runtime dependency, that is still much better than incorporating C/Cython code probably. That would mean you'd either have a significant burden of producing O(30) binary wheels if you distribute via PyPI, or have your users now needing a compiler if you build from source (especially problematic if you have Windows users). I'd personally try hard to stay pure Python only for as long as you can. Two other options come to mind:
|
Beta Was this translation helpful? Give feedback.
-
Indeed - it does make sense. I suppose we'll have to be patient that all these issues have been worked out - I will be better about not rushing to the latest NumPy version next time. Thank you for your explanations, which help me navigate this complex terrain! |
Beta Was this translation helpful? Give feedback.
-
Pyleoclim currently depends on Numba for the Weighted Wavelet Z-transform implementation (see wavelet.py), but there are concerns that numba is not under very active development, yield potential incompatibilities with NumPy down the line.
Since our use of Numba is pretty much restricted to one loop, I am wondering if there might be better options out there. @rgommers would you care to weigh in? Note that we would have used CPython if we knew any C, as the original WWZ code from ETH's James Kirchner is in C.
Beta Was this translation helpful? Give feedback.
All reactions