de en es fr nl pl pt sv zh

examples

GSoC’21 Improve performance through the use of Pythran

Xingyu Liu

Project Overview There are a lot of algorithms in SciPy that use Cython to improve the performance of code that would be too slow as pure Python, e.g. algorithms in scipy.spatial, scipy.stats and scipy.optimize. Recently, SciPy added experimental support for Pythran, to make it easier to...

Pythran as a bridge between fast prototyping and code deployment

Jean Laroche

Introduction As a researcher/engineer (really, an algorithm developer) in the general area of audio and speech processing, I've always run into the same difficulty at all the companies I've worked at: How to quickly prototype and develop algorithms, and subsequently turn them into efficient code...

Testing Pythran on random kernels

serge-sans-paille

This blogpost originally was a Jupyter Notebook. You can download it if you want. The conversion was done using nbconvert and a custom template to match the style of the other part of the blog. Every now and then, I hang around on stackoverflow, longing for numerical kernels to pass through...

An incursion into basic ML - Gradient Descent compiled with Pythran

serge-sans-paille

This blogpost originally was a Jupyter Notebook. You can download it if you want. The conversion was done using nbconvert and a custom template to match the style of the other part of the blog. Thanks to w1gz and Apo for their review! In https://realpython.com/numpy-tensorflow-performance/, the...

Pythran Tutorial

serge-sans-paille

Pythran presentation hold on Université Lyon1 on Monday 27th June together with a Julia presentation, and later at Compas'2016. This blogpost originally was a Jupyter Notebook. You can download it if you want. The conversion was done using nbconvert and a custom template to match the style of the...

Learn Pythran by practice

pbrunet

Pythran presentation hold on Université Lyon1 on Monday 27th June together with a Julia presentation. You can get slides shown by serge-sans-paille here. After this presentation, some examples were proposed to see Pythran usage. First example: Euler project N°14 Problem You can find Euler's...