|
Boost : |
From: Andy Glew (glew_at_[hidden])
Date: 1999-09-03 14:42:17
> The mere fact that the guys at
> Argonne could write such a translator and get a 2X performance boost is
> pretty well proof of that; I don't really think that the standard C++ speed
> boojums like vtable overhead could be accounting for that kind of speed
> loss.
Yes, but...
The problem is that C/C++ compilers typically do not have good
vectorizers - the sort of things that allow the vector registers on
machines like Crays, or MMX/SSE/KNI/Altivec/VIS on microprocessors,
to be used.
Optimizing templates is just a separate issue. The problem is that
C/C++ compilers don't optimize well, even after expanded to typical
array loops.
One day...
Until then, if you are serious about performance, you probably need
to buy a licence to KAP - the Kuck & Associates C/C++ preprocessor.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk