HOPE: A Python just-in-time compiler for astrophysical computations ?
We discuss the reasons for the lower execution speed of Python. We present HOPE, a specialised Python just-in-time compiler. The package combines the ease of Python and the speed of C++. HOPE improves the execution speed up to a factor of 120 compared to plain Python. The code is freely available under GPLv3 license on PyPI and GitHub.
python just-in-time compiler benchmark