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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: kevin.cline@gmail.com (Kevin Cline) Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request Date: 27 Aug 2004 11:22:34 -0700 Organization: http://groups.google.com Message-ID: References: <49dc98cf.0408110556.18ae7df@posting.google.com> NNTP-Posting-Host: 170.215.186.18 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1093630954 8930 127.0.0.1 (27 Aug 2004 18:22:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 27 Aug 2004 18:22:34 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3096 Date: 2004-08-27T11:22:34-07:00 List-Id: Georg Bauhaus wrote in message news:... > Kevin Cline wrote: > : However, with the introduction of the C++ standard library, > : programming in C++ with advanced data structures is simple and fast, > : and it's easy to avoid memory leaks, null dereferences, and heap > : corruption. > > Though given the Charles library I doubt that C++ vs Ada is a major > issue here. Charles is a pale imitation of the C++ STL. It defines containers, but provides no generic algorithms. My Ada is now a bit rusty, but it also appears that Charles containers can not be used with limited types. The author of the C++ STL started working in Ada but abandoned it because explicit instantiation was just too unwieldy. A single C++ template function call like this one: merge(c1.begin(), c1.end(), c2.begin(), c2.end(), c3.back_inserter()) would require half a dozen lines of Ada just for the function instantiation.