This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Comparative performance of C(gcc) and C++(g++)


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]