From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!panix!panix1.panix.com!not-for-mail From: comeau@panix.com (Greg Comeau) Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Date: 12 Mar 2005 21:12:30 -0500 Organization: Comeau Computing; http://www.comeaucomputing.com Message-ID: References: <871xau9nlh.fsf@insalien.org> <1110332933.587110.260410@z14g2000cwz.googlegroups.com> Reply-To: comeau@comeaucomputing.com NNTP-Posting-Host: panix1.panix.com X-Trace: reader1.panix.com 1110679950 24305 166.84.1.1 (13 Mar 2005 02:12:30 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Sun, 13 Mar 2005 02:12:30 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:9278 comp.lang.c++:45376 comp.realtime:1398 comp.software-eng:4963 Date: 2005-03-12T21:12:30-05:00 List-Id: In article <4952804.Myubg7stsI@linux1.krischik.com>, Martin Krischik wrote: >Jerry Coffin wrote: >> In short, this is not a comparison to the C language as it exists >> today, or has existed in well over a decade. > >What do you mean by "exists today"? C99 is 5 years old and still no compiler >is available which support all C99 features. "restrict" - missing in MS-C >(even thrue restrict can be implemented as "no operation") - VA - arrays >(savety critical feature) - missing in MS-C, buggy in GCC. Comeau C (based on EDG) + Dinkumware has provided said for a few years now. See http://www.peren.com/pages/cvsa_isocvpl.htm >The most compatible C/C++ compiler AFAIK is digital mars >(http://www.digitalmars.com) with "only" 4 C99 features missing: >(http://www.digitalmars.com/ctg/ctgLanguageImplementation.html#c_unimplemented). > >But even digital mars aims only at the C++98 and not the current C++ 2003. >And there are still 4 features missing: >(http://www.digitalmars.com/ctg/ctgLanguageImplementation.html#cpp_unimplemented). I think you've misread that URL. It does not say that. It's a reasonable compiler, and has many pros, but it is not to my knowledge the most compatible(?) C/C++ compiler. >> If anything, based on my own experience with standard C vs. >> pre-standard C, I'd say his study shows rather the opposite of what you >> think it does. Standard C was enough of an improvement over >> pre-standard C that it would be rather surprising if standard C didn't >> beat Ada in most areas studied (the primary exception being code >> reuse). > >Maybe just maybe - if there realy was any standart compiler available - but >there isn't - the C/C++ compiler vendors are allways one release behind the >actual ISO standart. Comeau C (to C90 and C99) and Comeau C++ (to C++98 and C++03) along with Dinkumware gives you it all, tons of additional modes, multiplatform, etc. For many years for each language. >> By contrast, comparing modern C++ to the pre-standard C shows _large_ >> improvements in nearly all areas. This is due in part to the changes in >> the language itself, but perhaps even more so to improved understanding >> of how to use the language. > >True - the former slim languages designed by individuals have become fad >languages desined by the ISO commitie ;-). > >It is true that a programming language need some minimum features set to be >usefull. And that feature set is a lot larger then most belive. If a >successfull language does not provide that set it will be bolted on later. >If anything the current C/C++ ISO standards clearly show that the advocates >for slim languages hat been wrong all along. There's room for each. -- 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?