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.

Sturla
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to