Re: gcc question

From: Bonj (a_at_b.com)
Date: 02/14/04


Date: Sat, 14 Feb 2004 02:32:00 -0000

so, if I limit myself to 'fairly cheap' or less, then the fastest compiler
is gcc?

"Andy Sinclair" <me@privacy.net> wrote in message
news:h1pp20hlv6b819au181ugb8bm1kdbkp7g5@4ax.com...
> Bonj wrote:
> >When you say 'faster', do you mean faster to actually do the compilation,
or the resulting .exe will actually be faster?
> >If it's the former then I'm not bothered at all, and probably will remain
unbothered even when I'm not a beginner.
> >I'm trying to get a handle on the relative benefits of the very latest MS
standard compiler (the free one in the v1.1 SDK, i.e. the 7.1 non-optimizer)
and the various others. Factors that are important to me (in order) are:
> I am referring to how fast the generated executable is.
>
> >1) Quality (speed) of code in produced .exe
> MSVC (Pro or Ent) is likely to be slightly faster because it is
> optimised to run on x86 hardware. Note that the difference is
> execution speed is only likely to be small, and shouldn't be
> significant for most software you are likely to write.
> MSVC standard will be slower than Gcc because it doesn't do any
> optimising.
>
> >2) Free-ness (although if it's not free, then price isn't an object -
it's either free or it's not, only two possible levels of benefit here as I
can get hold of any of the MS ones, I'd just rather it was free)
> Gcc is free.
> MSVC Std is fairly cheap.
> MSVC Pro is less cheap.
>
> >3) Conformance
> Gcc and MSVC have good conformance.
> MSVC used to have several problems conforming to the C++ standard with
> VC5 and 6 but VC7 is much better.
>
> Andy
>



Relevant Pages

  • Re: gcc question
    ... MSVC is likely to be slightly faster because it is ... Gcc is free. ... MSVC Std is fairly cheap. ... MSVC used to have several problems conforming to the C++ standard with ...
    (microsoft.public.vc.language)
  • Re: assigning a pointer the address of local variable
    ... In most of the compilers I use (GCC, MSVC++, lcc..) this program runs ... allright printing an address and the correct value 4. ...
    (comp.lang.c)
  • Re: c compilation - gcc vs visual c
    ... vast performance difference and my code is not at all ... msvc by default uses their own O2. ... GCC is not that far behind MSVC. ... system to dictate all the various platform-dependent optimizations; ...
    (comp.lang.c)
  • Re: [ANN] U++ development system 0.1.5
    ... GCC unfortunately is not the fastest compiler in the world. ... I used the MSVC debugger ... In debug mode, linked using MINGW ld. ...
    (comp.lang.cpp)
  • Re: Casting pointer-to-member types
    ... is it GCC or MSVC that is correctly implementing the standard ... MSVC is right, GCC is wrong. ...
    (microsoft.public.vc.language)