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!aioe.org!.POSTED!not-for-mail From: Luke A. Guest Newsgroups: comp.lang.ada Subject: Re: Why are Ada compilers difficult to write ? Date: Wed, 20 Jun 2018 19:58:53 +0100 Organization: Aioe.org NNTP Server Message-ID: <1879145989.551211041.811077.laguest-archeia.com@nntp.aioe.org> References: <584564c2-9f64-4965-b045-535cdaf899c0@googlegroups.com> <7cb22c58-3009-47f0-8fe7-62f3cd61785d@googlegroups.com> NNTP-Posting-Host: KvIXG7G4heKhWG0uA2EtRg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: NewsTap/5.3.1 (iPhone/iPod Touch) X-Notice: Filtered by postfilter v. 0.8.3 Cancel-Lock: sha1:Ew6mSxp8lUBBTiPfm9dkVj9Iw8s= Xref: reader02.eternal-september.org comp.lang.ada:53211 Date: 2018-06-20T19:58:53+01:00 List-Id: Dan'l Miller wrote: >> * Tasks > > So does C++17. > >> * Protected types and objects > > So does C++98. > Hardly. You can’t compare Ada’s high level tasking to the thin veneer over threading that’s in C++. Come on. >> * Discriminants >> * Elaboration Oh I forgot that doctors and stir sections are equivalent to Ada’s elaboration. Those sections just call the constructors and destructors.m, it’s very primitive. You also can’t do complex initialisations in C++ like in Ada. > * Moderately generous reflection via 'Tags Pick any C++ lib which hasn’t reimplemented this! > * Numerous aspects (historically standardized as pragmas) > > So does C++11, C++14, and C++17. Really? Which?