Lua is faster than Fortran???

sturlamolden sturlamolden at yahoo.no
Fri Jul 9 01:25:39 EDT 2010


On 9 Jul, 06:44, Stefan Behnel <stefan... at behnel.de> wrote:

> WRT a single machine, you should note that GPGPUs are a lot faster these
> days than even multi-core CPUs. And Python has pretty good support for
> GPUs, too.

With OpenCL, Python is better than C for heavy computing. The Python
or C/C++ program has to supply OpenCL code (structured text) to the
OpenCL driver, which does the real work on GPU or CPU. Python is much
better than C or C++ at processing text. There will soon be OpenCL
drivers for most processors on the market.

But OpenCL drivers will not be pre-installed on Windows, as Microsoft
has a competing COM-based technology (DirectX Compute, with an
atrocious API and syntax).




More information about the Python-list mailing list