This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Comparative performance of C(gcc) and C++(g++)
- From: Momchil Velikov <velco at fadata dot bg>
- To: John Love-Jensen <eljay at adobe dot com>
- Cc: Ivan Vieira Velho <velhaco2000 at yahoo dot com dot br>,<gcc-help at gcc dot gnu dot org>
- Date: 30 Jan 2003 15:45:54 +0200
- Subject: Re: Comparative performance of C(gcc) and C++(g++)
- References: <BA5E82A7.7048%eljay@adobe.com>
>>>>> "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