Discover Pythran through 10 code samples
08-31, 11:40–12:10 (Europe/Zurich), HS 120

The Pythran compiler is used to speed-up generic Python scientific kernels across the world. Through ten code samples taken from scipy, scikit-image codebase and stack overflow snippets, this talks is going to demonstrate the major features of the compiler, as well as some technical nits!


The pythran compiler is used to speed-up generic Python scientific kernels across the world, including scipy and scikit-image ones.

It has the advantage of taking pure Python code as input, with type annotations on function entry points, and generate efficient native code in exchange.

But there's much more to it! Through 10 commented real-world examples taken from stackoverflow, scipy and scikit learn code base, this talk is going to present some of the technical nits Pythran has to offer: OpenMP support, SIMD instruction usage, a featurful type signature description, high-level code optimization, Python syntax sugar support, distutils integration (oops, is that even a feature?)


Abstract as a tweet

The Pythran compiler, introduced through 10 real-world kernels.

Expected audience expertise: Domain

none

Expected audience expertise: Python

none

Project Homepage / Git

https://github.com/serge-sans-paille/pythran/

Domains

General-purpose Python

Sometimes a compiler engineer, sometimes a woodworker, sometime a wizard of the coast. Developper of the Pythran compiler as a hobby.