In article <9navsi$lan$1@inn.qnx.com>, <tom_usenet@hotmail.com> wrote:
Greg Comeau <> comeau@panix.com> > wrote:
In article <9naoa6$gqo$> 1@inn.qnx.com> >,
2. his compiler is fully compliant, and
It’s not, not C++ compiler is currently fully compliant,
but we’re clsoe.
I am pretty knowledgeable about C++ compiler/library conformance
issues, and Comeau C++ is the closest.
I think in the CUJ roundup we came out 98% for language issues.
It is based on the EDG front end (see > www.edg.com> ),
along with a number of other compilers (Kai C++ being perhaps the
most notable). However, Comeau C++ seems to have the fastest version
turn-around,
Without question, and also while keeping it robust and stable
(being fast is useless if things get broken in hast).
which seems to guarantee it will remain most conformant while
EDG does. Greg, how involved are you with EDG development/refinement?
I assume I’ve got this stuff roughly correct?
Perhaps
- runs reasonably efficient, and
- produces reasonable efficient code, and
It does on other platforms. This too depends upon the C compiler,
but we don’t hold it up in any way.
But Kai C++ also compiles to C as an intermediate step, and produces
greased lightening code (from its reputation) - I might recommend that
QSSL looks at > www.kai.com > too. The reason I didn’t mention them earlier
is that they are not tuned up to doing new ports (Intel bought them up
quite recently), and even if they could be persuaded that it’s worth
their while, it would probably take quite a while. After the fairly
loud response here, I though I’d better mention that there might be
another option, and one that is known for both excellent conformance
(though sub Comeau), and also thought to produce the fastest C++
code of any compiler - on Stepanov’s abstraction tests, it scores
around 100% on all tests.
Indeed, lots can be said for KAI too. As you say they generate
fast code, and as I understand it, they generate the most highly
optimized C++ code to date, even over so-called native code compilers.
But as you say, there’s other issue to deal with, such as Intel,
if they want to consider QNX, etc etc. And of course there is their
end user price. Having a choice is always good for end users
though and it would be great to be able to see both compilers IMO.
- uses already existing libraries (Dinkum?), and
Dinkum’s released their lib for COmeau for Solaris/SPARC and for
LINUX/Intel/ELF so far, and a Windows version is expected shortly.
After already paying out to Dinkum, Dinkum would obviously be the key.
Although STLport does seem to compile a hell of a lot faster - if
I have time I’ll compare benchmarks, but Dinkum doesn’t have a small
object allocator (AFAIK) which tends to hurt it in STL benchmarks.
This is perhaps so, but I believe that Dinkum is the most compliant
BTW, STLport works with Comeau C++ too, and we have a project underway
to formerly check it out with all our existing platforms by the end of
this year – again, having a choice matters IMO.
I’ve done an STLport (> www.stlport.com> ) for QNX 6.0. If I decide
Dinkum is too slow (unlikely - I’ve examined the source code and
they seem to make reasonable use of memcpy optimisations, and
std::string uses the small string optimisation), I may do a
6.1 port too (obviously the C standard libraries have all changed,
requiring a new port).
There’s one thing I’ve been unclear about, and that whether or
just how much STLPort is still being made compliant. I mean,
I sure it is, but I’m not cclear on exactly how that effort proceeds.
- can be sold at a reasonable price,
Normally it is.
$50 for standard platforms, or $45 as I just paid in the special offer!
About the same as you pay for a decent C++ book.
Or lunch (at least here in New York City).
Anyway, I would have no way to be able to utter a price at this
point, it could be more, or it could be less, though $50 is certainly
our current pricing zone for our generally available ports.
Let’s do continue to keep in mind that we’re all just hypothesizing here.
Is Monty Hall around? >
Who’s he?
A TV game show that was on when I was a boy (I’m 42 now). Actually,
I think it may have run longer than that, and also think that
it was resurected in the early 90’s for a short period… Let’s see…
see http://www.stat.sc.edu/~west/javahtml/LetsMakeaDeal.html
Greg Comeau export ETA: Dec 1 10% “End of Summer” Offer
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?