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: a07f3367d7,d1296b1e5055be50,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.77.1 with SMTP id o1mr1454479paw.29.1344317102474; Mon, 06 Aug 2012 22:25:02 -0700 (PDT) Path: g9ni2426777pbo.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!ctu-peer!ctu-gate!news.nctu.edu.tw!usenet.stanford.edu!postnews.google.com!wt8g2000pbb.googlegroups.com!not-for-mail From: wrp Newsgroups: comp.lang.ada Subject: Ada folks need to talk to C++ folks more Date: Mon, 30 Jul 2012 12:45:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6d4fedca-1b2f-476f-a05e-6c379389128b@wt8g2000pbb.googlegroups.com> NNTP-Posting-Host: 75.170.63.200 Mime-Version: 1.0 X-Trace: posting.google.com 1343677505 6993 127.0.0.1 (30 Jul 2012 19:45:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 30 Jul 2012 19:45:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: wt8g2000pbb.googlegroups.com; posting-host=75.170.63.200; posting-account=_xNmGgoAAADzVbG1LIrTaXAR97KD43ZC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20110327 Firefox/4.0 Iceweasel/4.0,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-30T12:45:05-07:00 List-Id: As I learn Ada, I have also been reading about C++ to better understand by contrast the capabilities and design issues. You can't spend much time listening to C++ coders without noticing that a lot of them really don't like the language. Their rants generally go like, "Even though we hate C++, we need feature X, and since no other language has it, we're stuck." Generally, the only remotely plausible alternatives they see are C# and Java. Well, I think most of time, feature X is actually in Ada. The trouble is, I never see Ada mentioned in these discussions. I hope here to prompt people to contribute to these C++ discussions, if not to promote Ada, then at least to educate C++ users on alternatives. To get an idea of the kind of complaints people make, this page has a lot of quotes from famous coders about C++: http://gigamonkeys.wordpress.com/2009/10/16/coders-c-plus-plus/ Getting to discussion about specifics, this blog post drew a lot of comments from the game industry: http://www.rachelslabnotes.com/2009/10/the-hidden-cost-of-c/ The gist of the comments is that only C++ has the combination of: 1. Support for both programming in the large and low-level control. (Ada has) 2. Powerful tool support. (Is GNAT good enough?) 3. Extensive useful libraries. (Depends on the field, but how close is Ada?) A recent discussion on undefined behavior with exceptions would have benefitted a lot from description of the Ada approach: http://www.250bpm.com/blog:4