[Numpy-discussion] NumPy re-factoring project

Sturla Molden sturla@molden...
Tue Jun 15 11:37:05 CDT 2010

Den 15.06.2010 18:30, skrev Sturla Molden:
> A very radical solution would be to get rid of all C, and go for a 
> "pure Python" solution. NumPy could build up a text string with OpenCL 
> code on the fly, and use the OpenCL driver as a "JIT compiler" for 
> fast array expressions. Most GPUs and CPUs will support OpenCL, and 
> thus there will be no need for a compiled language like C or Fortran 
> for fast computation in the near future.

Paradoxically, with OpenCL, Python is going to be better for fast 
numerical computation than C or Fortran, because Python is better at 
generating an manipulating dynamic text.


More information about the NumPy-Discussion mailing list