Originally posted by mmstick
View Post
The C subset of C++ is of course as fast a C (that has been shown by benchmarks of compiling C projects with C and C++ compilers, but as it's the exact same code, there's of course no reason that performance should be different).
The non-C features of C++ are faster than the same features handwritten in C, because the compiler optimize them. (So all in all, C is actually slower than C++)
Calls to libraries are pretty much the same regardless of language. Saying one language is faster because it can call Fortran libraries is silly.
Comment