Comparative performance of C(gcc) and C++(g++)
Momchil Velikov
velco@fadata.bg
Thu Jan 30 13:46:00 GMT 2003
>>>>> "John" == John Love-Jensen <eljay@adobe.com> writes:
John> Hi Ivan,
>> Can i really gain in run time speed and memory using C instead C++ ?
John> No, you cannot gain in run time speed and memory using C instead of C++.
I'd strongly suspect that C ``restrict'' keyword provides distinct
advantage over C++ for certain (numerical) problems.
Otherwise, the difference is close to nothing.
~velco
More information about the Gcc-help
mailing list