[pythran] Re: [pythran] Pythran 0.9.3 - Hañv

  • From: PIERRE AUGIER <pierre.augier@xxxxxxxxxxxxxxxxxxxxxx>
  • To: pythran <pythran@xxxxxxxxxxxxx>
  • Date: Tue, 27 Aug 2019 23:31:14 +0200 (CEST)


----- Mail original -----

De: "serge guelton" <serge.guelton@xxxxxxxxxxxxxxxxxxx>
À: "pythran" <pythran@xxxxxxxxxxxxx>, python-announce-list@xxxxxxxxxx, 
scipy-dev@xxxxxxxxxx, calcul@xxxxxxxxxxxxxxxxxxx
Envoyé: Lundi 19 Août 2019 15:13:44
Objet: [pythran] Pythran 0.9.3 - Hañv

Hi folks,

I just released version 0.9.3 of the Pythran package,

Short reminder: Pythran is an ahead-of-time compiler for scientific Python,
with a focus on high-level numerical kernels, parallelism and vectorisation.

Here is a simple kernel example, with a pythran annotation. Note that that
kernel is still Python-compatible (from
https://stackoverflow.com/questions/57199248/) :

   import numpy as np
   #pythran export col_sum(int[:,:] or float[:,:], int[:])
   def col_sum(data, idx):
       return data.T[idx].sum(0)

Hi,

Some https://transonic.readthedocs.io news... ;

This project has been originally created to easily use Pythran. However, with 
Transonic 0.3.2 (just released), Transonic code can also be accelerated with 
other accelerators (namely Cython and Numba).

An example here: 
https://transonic.readthedocs.io/en/stable/examples/row_sum/txt.html

++
Pierre

--
Pierre Augier - CR CNRS                 http://www.legi.grenoble-inp.fr
LEGI (UMR 5519) Laboratoire des Ecoulements Geophysiques et Industriels
BP53, 38041 Grenoble Cedex, France                tel:+33.4.56.52.86.16

Other related posts:

  • » [pythran] Re: [pythran] Pythran 0.9.3 - Hañv - PIERRE AUGIER