[Tutor] BLAS Implementation on Python

Alan Gauld alan.gauld at btinternet.com
Tue Mar 8 20:00:55 CET 2011

"Stefan Behnel" <stefan_ml at behnel.de> wrote
>>> He doesn't have to write it, as it is very obvious, that no Python 
>>> code
>>> on earth (even written by Guido himself ;-)) stands a chance 
>>> compared to
>>> Fortran or C. Look at this:
>> There is one big proviso. The C or Fortran needs to be well written
> It's seriously hard to write computational Python code that is 
> faster than C code, though.

Agreed, it was the assertion that "no Python code on earth...stands
a chance..." that I was objecting to.

There are many areas where the C code would have to be pathologically
bad to be beaten by Python, but there are plenty of places where only
slightly inefficient C code can be competitive relatie to Python.

Alan G. 

More information about the Tutor mailing list