By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,402 Members | 1,091 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,402 IT Pros & Developers. It's quick & easy.

Which is the best C++ compiler for Windows ?

P: n/a
Hi,
According to you, Which is the best C++ compiler for windows ?
Which compiler is least buggy and generate Optimized code ?

Jul 23 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
<ma*******@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
According to you, Which is the best C++ compiler for windows ?
Which compiler is least buggy and generate Optimized code ?

It depends...
Microsoft's MSVC >7.0 is pretty standards compliant, it
is fast, and generates nicely optimized code. Also, it is
in widespread use (although many still use version 6.x...).
And you can get it for free...

Intel's compiler is very good in terms of language compliance
and often generates the fastest code. However, it is not free,
and is relatively slower.

GCC/MingW is open source. Generates well optimized code,
has quite good standards compliance. It can also be
quite convenient when writing/porting cross-platform
code.

Borland's C++ comes with its own extensions, and integrates
with other Borland tools (Delphi, ...). Also available
on Linux...

Metrowerks' C++ compiler supports a large number of platforms,
also offers a nice environment; also is fast and generates
efficient code...

There's also Comeau, wich might still be the most
standard-compliant C++ compiler, also available on
a very large number of platforms.

Then there is Digital Mars, and probably others that I
just can't think of right now...
So what exactly are you looking for in your compiler?
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Brainbench MVP for C++ <> http://www.brainbench.com
Jul 23 '05 #2

P: n/a
Ivan Vecerina wrote:
<ma*******@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
According to you, Which is the best C++ compiler for windows ?
Which compiler is least buggy and generate Optimized code ?
It depends...
Microsoft's MSVC >7.0 is pretty standards compliant, it
is fast, and generates nicely optimized code. Also, it is
in widespread use (although many still use version 6.x...).
And you can get it for free...


To alleviate any possible confusion, it's the compiler that is free,
not the development environment. And it's the development environment
that is in widespread use (along with the compiler).
Intel's compiler is very good in terms of language compliance
and often generates the fastest code. However, it is not free,
and is relatively slower.
Has no environment. Integrates with MSVC's one.
GCC/MingW is open source. Generates well optimized code,
has quite good standards compliance. It can also be
quite convenient when writing/porting cross-platform
code.
You're making it sound that others aren't. What you ought to say is
that is has quite a few extensions often used in Linux/Un*x code. The
extensions on Windows are, of course, the same with MinGW.
Borland's C++ comes with its own extensions, and integrates
with other Borland tools (Delphi, ...). Also available
on Linux...
And it's not cheap there, IIRC.
Metrowerks' C++ compiler supports a large number of platforms,
also offers a nice environment; also is fast and generates
efficient code...
Last time I looked it was behind everybody in Standard compliance.
There's also Comeau, wich might still be the most
standard-compliant C++ compiler, also available on
a very large number of platforms.


Unfortunately, it requires a C compiler to get the final result. It's
essentially a front end. Not that it's a bad thing...

V
Jul 23 '05 #3

P: n/a
In article <33******************@newsread1.mlpsca01.us.to.ver io.net>,
Victor Bazarov <v.********@comAcast.net> wrote:
Ivan Vecerina wrote:
There's also Comeau, wich might still be the most
standard-compliant C++ compiler, also available on
a very large number of platforms.


Unfortunately, it requires a C compiler to get the final result. It's
essentially a front end. Not that it's a bad thing...


Therefore not unfortunate :) as most customers will either have
the required C compiler already (say with Comeau C++ for LINUX)
can download most supported compilers for free (Borland,
Digital Mars, lcc, MinGW, etc) and/or add others that are
supported, can be brought to market quicker and in
multi-platform versions, customized by Comeau for embedded
systems and proprietary uses, etc. all while being able to
be compliant, many modes, etc.
--
Greg Comeau / Comeau for the Mac? Stay tuned.
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
Jul 23 '05 #4

P: n/a
"Victor Bazarov" <v.********@comAcast.net> wrote in message
news:33******************@newsread1.mlpsca01.us.to .verio.net...
Ivan Vecerina wrote:
Borland's C++ comes with its own extensions, and integrates
with other Borland tools (Delphi, ...). Also available
on Linux...


And it's not cheap there, IIRC.

Actually free: http://www.borland.com/kylix/open/index.html

For a list of compilers one could also check:
http://www.thefreecountry.com/compilers/cpp.shtml
Anyway, the real point is that the best compier depends on the
type of development you are doing.
If you live in a Microsoft-only world, you may probably just
stick with their tools/compiler(s), especially as you can get
various versions of it for free.

With an extra budget and extreme need for performance,
the intel C++ compiler could be explored as an addition.

But if standard C++ or portability to some other platforms
is in the picture, using another compiler - and even routinely
making builds with more than one compiler - should be considered.
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Jul 23 '05 #5

P: n/a
Victor Bazarov wrote:
Ivan Vecerina wrote:
<ma*******@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
According to you, Which is the best C++ compiler for windows ?
Which compiler is least buggy and generate Optimized code ?

It depends...
Microsoft's MSVC >7.0 is pretty standards compliant, it
is fast, and generates nicely optimized code. Also, it is
in widespread use (although many still use version 6.x...).
And you can get it for free...

To alleviate any possible confusion, it's the compiler that is free,
not the development environment. And it's the development environment
that is in widespread use (along with the compiler).


True, although it is my understanding (haven't got around to trying it)
that it is possible to get the free 2003 compiler to work with the
(currently free) Visual Studio 2005 Express IDE for C++.

--
Mike Smith
Jul 23 '05 #6

P: n/a
Mike Smith wrote:
Victor Bazarov wrote:
Ivan Vecerina wrote:
<ma*******@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...

According to you, Which is the best C++ compiler for windows ?
Which compiler is least buggy and generate Optimized code ?

It depends...
Microsoft's MSVC >7.0 is pretty standards compliant, it
is fast, and generates nicely optimized code. Also, it is
in widespread use (although many still use version 6.x...).
And you can get it for free...


To alleviate any possible confusion, it's the compiler that is free,
not the development environment. And it's the development environment
that is in widespread use (along with the compiler).

True, although it is my understanding (haven't got around to trying it)
that it is possible to get the free 2003 compiler to work with the
(currently free) Visual Studio 2005 Express IDE for C++.


It's probably possible. It also must be possible to make it work with
other products like Dev-C++ or emacs or any other editor that supports
and provides compiler invocation. I'm yet to meet anybody who would do
that. Professionally.

V
Jul 23 '05 #7

P: n/a
Victor Bazarov wrote:
Mike Smith wrote:

True, although it is my understanding (haven't got around to trying
it) that it is possible to get the free 2003 compiler to work with the
(currently free) Visual Studio 2005 Express IDE for C++.


It's probably possible. It also must be possible to make it work with
other products like Dev-C++ or emacs or any other editor that supports
and provides compiler invocation. I'm yet to meet anybody who would do
that. Professionally.


"who would do that"? You make it sound like a crime. Granted, I
wouldn't try to build production code that way, but maybe the OP's not
interested in that.

--
Mike Smith
Jul 23 '05 #8

P: n/a

"Mike Smith" <mi*******************@acm.DOT.org> wrote in message
news:11*************@news.supernews.com...
Victor Bazarov wrote:
Mike Smith wrote:

True, although it is my understanding (haven't got around to trying it)
that it is possible to get the free 2003 compiler to work with the
(currently free) Visual Studio 2005 Express IDE for C++.


It's probably possible. It also must be possible to make it work with


It's definately possible.
The problem is this, they both try to write config info to the Registry, So
they do not act Dissimilar.

However, I think you'd do better either neglecting the Beta, or jumping
straight to the Release.
Jul 23 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.