3 ms·
Are there any Python vs. Numba vs. Cython vs C examples?
by skierscott 13y ago
Are there any Python vs. Numba vs. Cython vs C examples?
- onalark 13y agoIt's not common to see C/Fortran comparisons because they can be a pain to write. I'm implementing a serial C version for next week's blog post, though.
- travisoliphant 13y agoYes, there are several. See slide 15 of this talk http://www.slideshare.net/teoliphant/numba-siam-2013 http://www.slideshare.net/teoliphant/numba-siam-2013 and also the github repo: https://github.com/teoliphant/speed https://github.com/teoliphant/speed Note that the array-expressions previously in numbapro only have been moved to numba (our plan for all premium products is to move features into open source as we get funds to support that).
- travisoliphant 13y agoBut, the upshot is that Numba produces code that is either faster or roughly the same speed as C or Cython.