Connecting Tech Pros Worldwide Forums | Help | Site Map

C++ Compilers

Saddam Hussein
Guest
 
Posts: n/a
#1: Jul 19 '05
Can someone please tell me about which is the best C++ compiler in
terms of compliance to the ISO/IEC standard?

I have heard that Comeau C++ is pretty good in this regard? Do you
have an opinion on this? How does it compare to g++ and VC++ in terms
of compliance?

Regards,
Saddam.

David B. Held
Guest
 
Posts: n/a
#2: Jul 19 '05

re: C++ Compilers


"Saddam Hussein" <verysadhussein@hotmail.com> wrote

Is your name really "Saddam Hussein"?
[color=blue]
> in message news:6aa4274.0310212139.4d17af75@posting.google.co m...
> Can someone please tell me about which is the best C++
> compiler in terms of compliance to the ISO/IEC standard?
>
> I have heard that Comeau C++ is pretty good in this regard?[/color]

Is that a statement or a question? Yes, Comeau is very
conforming, and is allegedly the only compiler which
implements all of standard C++. Usually, testing code
against the online version is a good way to see what the
standard has to say about the code.
[color=blue]
> Do you have an opinion on this?[/color]

If we didn't, would you really want us to reply and say so?
[color=blue]
> How does it compare to g++ and VC++ in terms
> of compliance?[/color]

I think gcc 3.3 is pretty darned good. It also works out-of-
the box on most *nixes. Comeau uses some other system
compiler for the back end. gcc is probably still a little
behind Comeau, but you'll be very hard pressed to find
some useful, legal C++ that can't be made to work on gcc.
VC++ has definitely made some improvements since 6.5,
but in my opinion, it's not really there yet. It's my impression
that people still use it because they have to, not because
they want to (except for those that seem to like the IDE).
Don't forget about Metrowerks, Intel, Borland, and all the
other compilers out there. Supposedly Borland is working
on a highly conforming compiler that you can look at in their
CBX preview. I haven't gotten it yet, so I can't say how good
it is.

Dave



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003


Thomas Matthews
Guest
 
Posts: n/a
#3: Jul 19 '05

re: C++ Compilers


Saddam Hussein wrote:
[color=blue]
> Can someone please tell me about which is the best C++ compiler in
> terms of compliance to the ISO/IEC standard?
>
> I have heard that Comeau C++ is pretty good in this regard? Do you
> have an opinion on this? How does it compare to g++ and VC++ in terms
> of compliance?[/color]

What about other compilers: Borland, Metware, Arm, Green Hills,
Solaris and Sun?

Why is the PC the only platform?

See my rant in the Welcome.txt link below.[color=blue]
>
> Regards,
> Saddam.[/color]


--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jerry Coffin
Guest
 
Posts: n/a
#4: Jul 19 '05

re: C++ Compilers


In article <hiylb.10554$FZ4.3409@newssvr16.news.prodigy.com >,
Thomas_MatthewsHatesSpam@sbcglobal.net says...

[ ... ]
[color=blue][color=green]
> > I have heard that Comeau C++ is pretty good in this regard? Do you
> > have an opinion on this? How does it compare to g++ and VC++ in terms
> > of compliance?[/color]
>
> What about other compilers: Borland, Metware, Arm, Green Hills,
> Solaris and Sun?[/color]

At least to my knowledge, Arm, Solaris and Sun aren't compilers -- Arm
and Sun are companies and Solaris is an operating system.

Borland and Green Hills are both substantially inferior to Comeau in
terms of conformance. Metaware probably is as well, but I haven't
looked recently enough to be sure.
[color=blue]
> Why is the PC the only platform?[/color]

The _only_ compiler he mentioned that's restricted to the PC is VC++;
both Comeau and g++ are available for a wide variety of platforms.
[color=blue]
> See my rant in the Welcome.txt link below.[/color]

IMO, you'd do well to rant a bit less and think a bit more.

In the end, you're probably right: he probably is interested in a
compiler for the platform he's using, and anybody with a minimal
knowledge of statistics can guess that's probably from MS. While I can
sympathize to a degree with your apparent wish to advocate for platform
of your choice rather than his, it's clearly not topical here.

--
Later,
Jerry.

The universe is a figment of its own imagination.
P.J. Plauger
Guest
 
Posts: n/a
#5: Jul 19 '05

re: C++ Compilers


"Jerry Coffin" <jcoffin@taeus.com> wrote in message
news:MPG.1a00652d2c88be86989b7e@news.clspco.adelph ia.net...
[color=blue]
> Borland and Green Hills are both substantially inferior to Comeau in
> terms of conformance. Metaware probably is as well, but I haven't
> looked recently enough to be sure.[/color]

Don't know why you put Green Hills in this list. They too use the
EDG front end, same as Comeau. It's true they haven't shipped the
latest version from EDG that implements export templates, but I
have trouble with the notion that their front end is 'substantially
inferior' to the latest. If you're talking about code generator bugs,
I've found very few of them (and Green Hills knows about them, of
course). And if you're talking about the library, I have reasons to
believe that the one shipped by Green Hills is completely conforming.
You can get such a library for Comeau, but it's an add-on.

BTW, Borland has licensed both EDG and Dinkumware technology, so you
can expect some highly conforming offerings from them in the near
future.

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com


Jerry Coffin
Guest
 
Posts: n/a
#6: Jul 19 '05

re: C++ Compilers


In article <x6Alb.17852$Y1.6@nwrddc03.gnilink.net>, pjp@dinkumware.com
says...

[ ... ]
[color=blue]
> Don't know why you put Green Hills in this list. They too use the
> EDG front end, same as Comeau. It's true they haven't shipped the
> latest version from EDG that implements export templates, but I
> have trouble with the notion that their front end is 'substantially
> inferior' to the latest.[/color]

You're right -- "substantial" is overstating things, and I apologize for
that. I think pretty much everybody involved would agree that it's
inferior, but normally the degree of difference is quite small.
[color=blue]
> BTW, Borland has licensed both EDG and Dinkumware technology, so you
> can expect some highly conforming offerings from them in the near
> future.[/color]

I look forward to seeing it -- at one time I was quite a fan of Borland.

--
Later,
Jerry.

The universe is a figment of its own imagination.
David B. Held
Guest
 
Posts: n/a
#7: Jul 19 '05

re: C++ Compilers


"P.J. Plauger" <pjp@dinkumware.com> wrote in message
news:x6Alb.17852$Y1.6@nwrddc03.gnilink.net...[color=blue]
> [...]
> BTW, Borland has licensed both EDG and Dinkumware
> technology, so you can expect some highly conforming
> offerings from them in the near future.[/color]

Wow, they didn't make you sign an NDA about this?? That's
more info than Borland would ever release through official
channels. It's good news, no doubt, but too little too late
for people who are married to the VCL. It also explains
why they are moving to a pure C++ GUI framework.

Dave



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003


P.J. Plauger
Guest
 
Posts: n/a
#8: Jul 19 '05

re: C++ Compilers


"David B. Held" <dheld@codelogicconsulting.com> wrote in message
news:bn7skm$ahr$1@news.astound.net...
[color=blue]
> "P.J. Plauger" <pjp@dinkumware.com> wrote in message
> news:x6Alb.17852$Y1.6@nwrddc03.gnilink.net...[color=green]
> > [...]
> > BTW, Borland has licensed both EDG and Dinkumware
> > technology, so you can expect some highly conforming
> > offerings from them in the near future.[/color]
>
> Wow, they didn't make you sign an NDA about this?? That's
> more info than Borland would ever release through official
> channels.[/color]

Steve Adamczyk, President of Edison Design Group, and I will
be giving a joint presentation on C/C++ standards at Borcon
on Monday, 3 November. Borland certainly isn't making a secret
about their interest in standards conformance these days, or
who they're working with to improve it. Other details about
their products and release plans are, of course, for Borland
to disclose.
[color=blue]
> It's good news, no doubt, but too little too late
> for people who are married to the VCL. It also explains
> why they are moving to a pure C++ GUI framework.[/color]

Just watch for their annouoncements and keep an open mind.

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com


Greg Comeau
Guest
 
Posts: n/a
#9: Jul 19 '05

re: C++ Compilers


In article <6aa4274.0310212139.4d17af75@posting.google.com> ,
Saddam Hussein <verysadhussein@hotmail.com> wrote:[color=blue]
>Can someone please tell me about which is the best C++ compiler in
>terms of compliance to the ISO/IEC standard?
>
>I have heard that Comeau C++ is pretty good in this regard? Do you
>have an opinion on this? How does it compare to g++ and VC++ in terms
>of compliance?[/color]

Choosing Comeau C++ with the Dinkumware library will give you
the compliance it seems you are seeking, and both are available
for a number of platforms.
--
Greg Comeau/4.3.3:Full C++03 core language + more Windows backends
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?
Closed Thread