Gast, Beniget! Use-Def chains for Python Programs

Many tools manipulate the Python AST to analyse or transform it. Let's propose a collection of analyse those tools can leverage on: beniget.

more ...

Source-to-source transformation of a Python kernel

Pythran can also be used as a source-to-source transformation engine. This post showcases some recent transformation on a high-level code.

more ...

Pythran 0.9.1 is out!

Pythran version bump, new PyPI packages + Conda release, Changelog and comments.

more ...

Bye bye boost.simd, welcome xsimd

After five years of friendship, Pythran replaces boost.simd by xsimd as its vectorization engine. This post goes through the motivation of this change, and the advantage of this move.

more ...

What is the air speed velocity of Pythran?

Performance of the compiled code is an important feature of Pythran. Yet, Pythran had no unit test to prevent performance regression! Fortunately, thanks to a mix of airspeed velocity and numpy-benchmark, it is now a granted a decent way to track these regressions.

more ...

Testing Pythran on random kernels

Stack Overflow is a great place to find new challenging test case for Pythran :-)

more ...

An incursion into basic ML - Gradient Descent compiled with Pythran

Or how to compile a basic kernel from the machine learning field with Pythran.

more ...

Shrinking Pythran-Generated Binaries

Following a thread on scipy-dev, I've started to work on reducing the size of Pythran-generated binaries. Here is the outcome of my work.

more ...

Being more than a translator

Starting from a Cython blog post by Jake VanderPlas, a trip in compiler optimisation, with a special glance at modulo operation!

more ...

the Capsule Corporation

Python provides a convenient way to encapsulate a raw pointer in an object, to make interaction between native modules easier. SciPy uses that mechanism to call native code from some functions, and now Pythran can produce them just as well as Dr Brief would!

more ...