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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,982ed90dd25179ec X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-29 13:56:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc04.gnilink.net.POSTED!53ab2750!not-for-mail From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021210 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: point by point advantages of Ada References: <1041186672.615164@ns2-ext.dcu.ie> In-Reply-To: <1041186672.615164@ns2-ext.dcu.ie> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sun, 29 Dec 2002 21:56:43 GMT NNTP-Posting-Host: 162.83.249.78 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc04.gnilink.net 1041199003 162.83.249.78 (Sun, 29 Dec 2002 16:56:43 EST) NNTP-Posting-Date: Sun, 29 Dec 2002 16:56:43 EST Xref: archiver1.google.com comp.lang.ada:32383 Date: 2002-12-29T21:56:43+00:00 List-Id: Colin Paul Gloster wrote: > Dispatching in C++ does have an expressive advantage over dispatching in > Ada 95. Does it? As far as I know, the mechanisms are exactly the same, even though the syntactic expression is different. I wouldn't characterize C++'s way as a particular advantage, notwithstanding the (snipped) argument below. > Modern C++ libraries might have thread-safe exceptions. Threads are not part of the Standard, but when implementations support them, I believe exceptions work correctly, and don't interfere with other threads. > ISO C++ does have generics (called templates in the context of C++). And arguably better than Ada's version. > There is an ISO standard for C++ (which does not yet have a full > implementation after several years). Fortunately, this has just become no longer true. The compiler sold by Comeau, featuring a front end created by the Edison Design Group and a library built by Dinkumware, now supports Standard C++ in its entirety.