Brussels / 1 & 2 February 2020


The Pythran compiler, 7 years later

7 years ago, a first file was commited in the Pythran git repo in order to create a compiler from Python to C++. The project now has hundreds of downloads per day on PyPI and has moved to a cross-platform compiler for scientific programs. This talks walks through the initial ideas, sorting out the good and the bad ones and compares the approach with other major Python compilers for scientific programs, most notably Cython, Pypy and Numba.

Relevant topics include :

  • Numpy compatibility
  • Abstraction level
  • Backward compatibility with Python
  • Taking advantage of hardware
  • Translating or optimizing
  • Community interaction
  • Multi-platform support
  • Benchmarking


Serge Guelton (serge-sans-paille)