[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: g++ 2.95 and g++ 3.0



"Martin v. Loewis" wrote:

> > When compiling the same programs with these compilers, g++ 2.95 is
> > much (sometimes 3 times) faster than g++ 3.0, even without
> > optimizing (without -O).
>
> Not sure what you asking. Are you saying g++ 2.95 is faster, or that
> the generated code is faster?
>
> > Why is it happening? Is it so because of more complex templates in recent
> > libstdc++?
>
> If you are asking for compilation speed, yes, the main cause it that
> libstdc++ consists of many more templates now. If you are asking for a
> slow-down in an application, you need to provide detailed test cases.

I asked about compilation speed.


> > Is g++ 3.0 really a step further ?
>
> It certainly is. g++ is much more standards compliant that 2.95;
> mainly because of the new C++ library. The new C++ ABI is also more
> memory-efficient in some cases.

Oh, I have one more question. What does widely-mentioned "ABI" stand for?

Regards,
Alexei.




Reply to: