unPython: Converting Python Numerical Programs into C

Rahul Dev Garg, José Nelson Amaral · Proceedings of the Python in Science Conferences · 2008

unPython is a Python-to-C compiler intended for numerical Python programs. The compiler takes as input type-annotated Python source and produces C source code for an equivalent extension module. The compiler is NumPy-aware and can convert most NumPy indexing or slicing operations into C array accesses. Furthermore the compiler also allows annotating certain for-loops as parallel and can generate OpenMP code thus providing an easy way to take advantage of multicore architectures.

Read the paper · More papers on PaperTik