c - How to compare compilers -


Which indicators do you use to compare between compilers?

I have been told that GCC is the best compiler, is this true? If so, why?

I usually mean, so you can tell which compiler is more suitable for architecture.

(I've heard that EGC will be more suitable for Intel, but I do not know why)

Personally I intend to use AMD 64bit, Linux and Windows, GUI and non-GUI develops in both apps.

Um, I do not know, where you have heard that GCC is "the best compiler". It is only the most omnipresent and it is also that GCC is much better than the original compilers provided by the most commercial Unix vendors in the 1990s.

But what does "best" define?

  • Size of the compiled code;
  • Speed ​​of the compiled code;
  • Memory usage of the compiled code;
  • Bugs and probabilities of seg molding;
  • Help;
  • Community;
  • Etc.

The different things separate case for different people.

Here's another one. I'm sure you can also see some comparisons for Microsoft's compiler.

Generally speaking people, relational shape or speed or a compiler (or not necessarily even with size or speed) output less than one factor of two), but whether it works or not ( This was a real issue a year or two ago), does it support relevant standards and whether there is any strangeity / bug / feature in it that is for you the solution. / P>


Comments