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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a02:904a:: with SMTP id y10-v6mr9880831jaf.7.1530511974187; Sun, 01 Jul 2018 23:12:54 -0700 (PDT) X-Received: by 2002:aca:8d2:: with SMTP id 201-v6mr2568639oii.0.1530511973974; Sun, 01 Jul 2018 23:12:53 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!85.12.16.68.MISMATCH!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!d7-v6no2819044itj.0!news-out.google.com!p13-v6ni4304itf.0!nntp.google.com!d7-v6no2819043itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 1 Jul 2018 23:12:53 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.9.244.34; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 194.9.244.34 References: <856189aa-fa00-4960-929e-174f352310ad@googlegroups.com> <87351e85-0a06-4bb3-9a04-0f75bb635aad@googlegroups.com> <2111211480.552157697.052950.laguest-archeia.com@nntp.aioe.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <284ac3e2-2b33-4a9d-a76b-09a508d4f1a3@googlegroups.com> Subject: Re: Teaching C/C++ from Ada perspective? From: Maciej Sobczak Injection-Date: Mon, 02 Jul 2018 06:12:54 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2663 X-Received-Body-CRC: 2019817325 Xref: reader02.eternal-september.org comp.lang.ada:53497 Date: 2018-07-01T23:12:53-07:00 List-Id: > (My own r=C3=A9sum=C3=A9 reads like: wrote libraries to back-fill all th= e major gaps in C++ at this employer, and oh did much the same a little dif= ferently at that employer, and yet again at the next employer but this time= extended from a prior open-source basis.) You have picked the wrong argument. The proliferation of libraries in C++ c= omes from the fact that the standard library is relatively (compared to ful= ly baked platforms like .NET) small and omits many important areas. The pro= blem with your argument is that in Ada it is not any better and since the u= sual way to solve the problem in Ada is to write bindings to libraries writ= ten in C or C++, you just have additional layer of mess (or additional dime= nsion). More versions to care about, more bugs to fix/rely on, more incompa= tible APIs that prevent you from merging or reusing code, etc. A very good example of this mess is GUI, where in C++ you have a mess of mu= ltiple libraries, but in Ada you have a 2D mess of multiple bindings to tho= se. And there is no sign of this getting any better in any foreseeable futu= re. --=20 Maciej Sobczak * http://www.inspirel.com