[Numpy-discussion] Fortran was dead ... [was Re: rewriting NumPy code in C or C++ or similar]

Sturla Molden sturla at molden.no
Tue Mar 15 12:21:51 EDT 2011


Den 15.03.2011 16:33, skrev Charles R Harris:
>
> There really isn't a satisfactory array library for C++. The fact that 
> every couple of years there is another project to produce one 
> testifies to that fact.

In order to be competitive against Fortran 95, an array library for C++ 
must do all the work of a Fortran compiler.

There is no (universally accepted) industry standard array library for 
C++, which discourage vendors from providing one for their particular 
platform.

> And don't overlook that Fortran knows about complex numbers as well as 
> arrays.

Any decent C++ compiler knows what to do with std::complex template types.


Sturla



More information about the NumPy-Discussion mailing list