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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Teaching C/C++ from Ada perspective? Date: Thu, 5 Jul 2018 13:47:23 -0500 Organization: JSA Research & Innovation Message-ID: References: <856189aa-fa00-4960-929e-174f352310ad@googlegroups.com> <2718c8d4-5f35-4fd8-a1aa-1e60069a7a5d@googlegroups.com> <39fce60c-9f56-42fb-b679-fa08810b00ee@googlegroups.com> <3701bf07-89a5-4cb0-a704-5aebb589ca79@googlegroups.com> <2f5e4ce0-94e8-4b94-9da7-045ec90a9b22@googlegroups.com> <18554067-1382-4b43-a832-2d27aa5117d7@googlegroups.com> <8dc19505-b68a-403c-a164-f1de1864f3f1@googlegroups.com> <559657f8-bbf4-4a70-9449-f85bc98d6c6b@googlegroups.com> <590d4672-4aef-42a5-823c-57ccd291115a@googlegroups.com> <8de6b5ba-25ab-4d46-b80c-1544f43a9b05@googlegroups.com> Injection-Date: Thu, 5 Jul 2018 18:47:23 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="24158"; mail-complaints-to="news@jacob-sparre.dk" 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.7246 Xref: reader02.eternal-september.org comp.lang.ada:53661 Date: 2018-07-05T13:47:23-05:00 List-Id: "Maciej Sobczak" wrote in message news:8de6b5ba-25ab-4d46-b80c-1544f43a9b05@googlegroups.com... ... >> Your examples are related to GNAT > >Which happens to be The Ada Compiler that potential users are going to use. A compiler that was purposely designed to be as much like C++ as possible, thus including all of it's problems as well. GNAT doesn't even try to take advantage of many Ada capabilities, because it is so closely tied too GCC. If you're comparing *languages* rather than *implementations*, the results would be rather different. ... >And yet, after so many posts were written in this discussion, I still do >not >see any convincing example of why Ada is sooooo much better in this >regard. On the other hand, I have presented examples showing that >C++ problems exist in Ada, too. Mainly because you're focused on a issue that is OBE. "Compile-time coupling" mattered a lot when compilations took five minutes per unit; recompilation of an entire system literally took days. Nowdays, when compilation only takes a couple of seconds for most units, recompiling an entire system takes 10-15 minutes. Since good health requires walking away from your desk periodically, a language that didn't require this sometimes would be bad for the health of it's practitioners. ;-) Randy.