473,408 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

C++ Compilers

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.
Jul 19 '05 #1
8 1661
"Saddam Hussein" <ve************@hotmail.com> wrote

Is your name really "Saddam Hussein"?
in message news:6a*************************@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?
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.
Do you have an opinion on this?
If we didn't, would you really want us to reply and say so?
How does it compare to g++ and VC++ in terms
of compliance?


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
Jul 19 '05 #2
Saddam Hussein wrote:
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?
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.
Regards,
Saddam.

--
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

Jul 19 '05 #3
In article <hi******************@newssvr16.news.prodigy.com >,
Th**********************@sbcglobal.net says...

[ ... ]
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?
What about other compilers: Borland, Metware, Arm, Green Hills,
Solaris and Sun?


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.
Why is the PC the only platform?
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.
See my rant in the Welcome.txt link below.


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.
Jul 19 '05 #4
"Jerry Coffin" <jc*****@taeus.com> wrote in message
news:MP************************@news.clspco.adelph ia.net...
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.


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
Jul 19 '05 #5
In article <x6**************@nwrddc03.gnilink.net>, pj*@dinkumware.com
says...

[ ... ]
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.
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.
BTW, Borland has licensed both EDG and Dinkumware technology, so you
can expect some highly conforming offerings from them in the near
future.


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.
Jul 19 '05 #6
"P.J. Plauger" <pj*@dinkumware.com> wrote in message
news:x6**************@nwrddc03.gnilink.net...
[...]
BTW, Borland has licensed both EDG and Dinkumware
technology, so you can expect some highly conforming
offerings from them in the near future.


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
Jul 19 '05 #7
"David B. Held" <dh***@codelogicconsulting.com> wrote in message
news:bn**********@news.astound.net...
"P.J. Plauger" <pj*@dinkumware.com> wrote in message
news:x6**************@nwrddc03.gnilink.net...
[...]
BTW, Borland has licensed both EDG and Dinkumware
technology, so you can expect some highly conforming
offerings from them in the near future.
Wow, they didn't make you sign an NDA about this?? That's
more info than Borland would ever release through official
channels.


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.
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.


Just watch for their annouoncements and keep an open mind.

P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com
Jul 19 '05 #8
In article <6a*************************@posting.google.com> ,
Saddam Hussein <ve************@hotmail.com> wrote:
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?


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?
Jul 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Bill Davidson | last post by:
Hi there, Please forgive me for posting this article on multiple groups. Being new in the newsgroups, I was not sure which group would have been appropriate for my question. Sorry. My...
22
by: bq | last post by:
Hello, Two questions related to floating point support: What C compilers for the wintel (MS Windows + x86) platform are C99 compliant as far as <math.h> and <tgmath.h> are concerned? What...
13
by: Derek | last post by:
As I understand it there is a good amount of link compatibility among C compilers. For example, I can compile main.c with GCC and func.c with Sun One and link the objects using either linker (GNU...
0
by: Chris Stephens | last post by:
Low Cost C Compilers ------------------------------------ HI-TECH Software's C compilers are now available to support the ARM, dsPIC, msp430, 8051, PIC 10 to 17, PIC 18 as well as many other...
3
by: Robert | last post by:
I have a number of web projects converted from 1.1 to 2.0 in VS2005. I am methodically seeing the error below: The element 'compilation' has invalid child element 'compilers'. List of...
12
by: madhura | last post by:
Hello, I have a basic question about compilers. What are the different types of compilers, are they written by different companies, why there are different names of compilers, what is the purpose,...
1
by: dbaGrant | last post by:
I have upgraded an asp.net 1.1 application to asp.net 2.0 using the upgrade wizard in VS2005. The web.config file which worked correctly in 1.1 now has an error that will not allow the application...
8
by: pransri2006 | last post by:
Hi guys! I think all of u know about the designing of compilers. Can any body tell me about the designing of the compilers. And also tell me the difference between the compilers and Interpreter...
30
by: albert.neu | last post by:
Hello! What is a good compiler to use? (for MS Windows, for Linux) Any recommendations?? What's the point of having a C99 standard, if different compilers still produce differing results? ...
14
by: shyam.lingegowda | last post by:
Hi all, If I have two c++ programs and I compile that using two different compilers on Unix. Is it possible for these two exe's to communicate with one another. Since the way the exe's are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.