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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,ab1d177a5a26577d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: What's wrong with C++? Date: Fri, 7 Oct 2011 20:24:12 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <1ee1a434-4048-48f6-9f5e-d8126bebb808@r19g2000prm.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1318037054 4540 69.95.181.76 (8 Oct 2011 01:24:14 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Sat, 8 Oct 2011 01:24:14 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Xref: g2news2.google.com comp.lang.ada:22288 Date: 2011-10-07T20:24:12-05:00 List-Id: "Peter C. Chapin" wrote in message news:EeadnV_UDMIFJRbT4p2dnAA@giganews.com... > On Tue, 04 Oct 2011 23:00:20 +0200, Yannick Duch�ne (Hibou57) wrote: > >> So OK, it is formally proved that is not even sure a given C++ source >> file can really be compiled or not. That's big, ouch. ... > In our work at VTC on translating some NASA software to SPARK we > encountered a situation where the SPARK simplifier took an "infinitely" > long time to execute... well, okay, it only took about an hour. Yes it > did terminate but it took so long that development was impractical (no > different, really, than true non-termination). Our response: fix the > source. But isn't that a really terrible error message? When I've had compiler bugs that caused infinite loops, I've often spent many hours trying to find a work-around, and only trial-and-error works (there being no information at all as to the cause). And I've had a great advantage to the vast majority of programmers in that I have access to the compiler source and a good knowledge of how the compiler works internally. The vast majority of programmers would have no such advantages (and probably could not wait for compiler support to bail them out, either). So a language design which has a significantly >0% chance of having this happen is potentially a time-bomb in your development schedules. (Such bugs have stopped my work cold until a work-around could be found.) That seems bad (how bad depends on the likelyhood of it happening). Randy.