[ascl:1411.005]
HOPE: Just-in-time Python compiler for astrophysical computations
HOPE is a specialized Python just-in-time (JIT) compiler designed for numerical astrophysical applications. HOPE focuses on a subset of the language and is able to translate Python code into C++ while performing numerical optimization on mathematical expressions at runtime. To enable the JIT compilation, the user only needs to add a decorator to the function definition. By using HOPE, the user benefits from being able to write common numerical code in Python while getting the performance of compiled implementation.
- Code site:
-
https://pypi.org/project/hope/
- Described in:
-
https://ui.adsabs.harvard.edu/abs/2015A%26C....10....1A
- Bibcode:
- 2014ascl.soft11005A