Pythran – a compiler for Python scientific kernels – release
serge-sans-paille.github.io
Pythran – a compiler for Python scientific kernels – release
1–7 of 7 posts
Re: Pythran – a compiler for Python scientific kernels – release
#2Re: Pythran – a compiler for Python scientific kernels – release
#3but you should link to some docs / examples / tutorials in this thread because the release notes doesn't do justice of what Pythran can do.
Re: Pythran – a compiler for Python scientific kernels – release
#4I know Pythran from the Julia challenge [1] but you should link to some docs / examples / tutorials in this thread because the release notes doesn't do justice of what Pythran can do. [1] https://github.com/SimonDanisch/julia-challenge/pull/4
Re: Pythran – a compiler for Python scientific kernels – release
#5How does it compare to Numba and Cython?
Tl;dr: pythran is very similar to numba but blazingly fast on cpu
Re: Pythran – a compiler for Python scientific kernels – release
#6How does it compare to Numba and Cython?
Here is a nice comparison https://flothesof.github.io/optimizing-python-code-numpy-cyt... Tl;dr: pythran is very similar to numba but blazingly fast on cpu
Instead it should use typed memoryviews [0], which are faster and can avoid more cases that will rely on the GIL accidentally (such as when an ndarray has to be treated as a Python object).
[0]: https://cython.readthedocs.io/en/latest/src/userguide/memory...
Re: Pythran – a compiler for Python scientific kernels – release
#7Some benchmarks here: http://serge-sans-paille.github.io/pythran-stories/testing-p...
Some more benchmark you can run on you own: https://github.com/serge-sans-paille/numpy-benchmarks/
A comparison with Julia and native code: http://serge-sans-paille.github.io/pythran-stories/micro-ben...