-
Costless Abstraction with Pythran: Broadcasting
Broadcasting is a neat feature of Numpy array, but it was not trivial to implement at the C++ level, while keeping a high-level interface. after weeks of effort, here is a showcase of how good it runs, compared to the Numpy version and lower-level Cython and Numba version!
Read more... -
Identifier Binding Computation
Alias analysis is a poor term to describe the processing done by Pythran that is going to be described here. It could rather be named static computation of identifier binding, in the sense that it tries to give an over-approximation of which values an identifier can be bound to, at a given point of the program execution. Still, whatever its name, the process plays a key role in Pythran, so let's have a look to its internals.
Read more... -
Micro-Benchmarking Julia, C++ and Pythran on an Economics kernel
Let's re-run an existing benchmark with Pythran
Read more... -
Compiler Flags
Playing with compiler forwarded by Pythran to GCC (or Clang) can yield surprising results, let's explore this!
Read more... -
Pythran Case: Resampling
Optimizing an algorithm found on Stack Overflow with Pythran, getting a x2 speedup with a single line, a x4 speedup with two lines and much more while switching our brain on!
Read more... -
Pythran 0.7.4 is out!
Pythran version bump, new pypi packages and conda release!
Read more...