What, again?
Posted May 2, 2007 3:31 UTC (Wed) by
ncm (subscriber, #165)
In reply to:
What, again? by djabsolut
Parent article:
The Rise of Functional Languages (Linux Journal)
Actually C++ is now beating FORTRAN soundly in numerics, too. This is a consequence of its template system, which allows domain-specific optimizations to be defined in libraries, and applied at compile time. Even back in 1995, Todd Veldhuizen wrote a C++ library that beat IBM's specialized FORTRAN by 40% on IBM's own vector machine running fluid-dynamic simulations.
The C++ numerics community has not stood still since then. A current example of such a library is VSIPL++, which can apply MPI underneath to automatically parallelize array operations. It's published under GPL, by the way, so you can find out how.
(
Log in to post comments)