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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,59d666bca086a225 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news4.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada & MacOS References: <1776691.hMkAr8ZQHy@linux1.krischik.com> <6SuEf.155126$dP1.513381@newsc.telia.net> <1289921.BRApYLEfLn@linux1.krischik.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 08 Feb 2006 04:51:34 GMT NNTP-Posting-Host: 67.150.73.23 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1139374294 67.150.73.23 (Tue, 07 Feb 2006 20:51:34 PST) NNTP-Posting-Date: Tue, 07 Feb 2006 20:51:34 PST Xref: g2news1.google.com comp.lang.ada:2811 Date: 2006-02-08T04:51:34+00:00 List-Id: Maciej Sobczak wrote: >> With Ada, the entire standard language is compiled by every compiler; >> a compiler that didn't implement, say, generics, would be laughed out >> of existence. Yet "C++" users regularly use compilers that don't >> implement templates, exceptions, or namespaces. > > Really? Taking into account what I've seen during the last few years on > comp.lang.c++.moderated, I'd say that today such compilers are > extraordinarily rare, something like a living mammoth. I don't call it > "regularly use". > > I'm writing this from Mozilla, written in C++, running happily on most > desktop platforms you can find today. Have Mozilla been written in Ada, > it wouldn't be much more portable. Interesting that you mention Mozilla. Take a look at their rules for writing C++ for the project: http://www.mozilla.org/hacking/portable-cpp.html Lots of things you can't use, including no templates (a few exceptions), no exceptions, no namespaces. That's for contributing to Mozilla today, because so many of the compilers used to build Mozilla for various platforms today don't support these basic features of the language. > BTW - why do you write "C++" in question marks, and Ada without them? C++ is an ISO standard; anything that isn't the language defined in that standard isn't C++. Lots of people use the name "C++" to refer to things that aren't C++; I use "C++" to refer to such things. By the way, '"' is a quotation mark; '?' is a question mark. -- Jeff Carter "You tiny-brained wipers of other people's bottoms!" Monty Python & the Holy Grail 18