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!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: How to make Ada popular. Get rid of ";" at end of statement. Date: Fri, 26 Jul 2019 18:34:41 -0700 Organization: None to speak of Message-ID: References: <5d9a8728-3c5b-4caf-b765-a455ba4d3523@googlegroups.com> <5fb45b9c-d7da-447c-999e-0e8bcce2eed5@googlegroups.com> <1dc13d50-7606-4530-b5cc-19e07b4d4938@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="d8a2633722fb5b0a068c2be01b0d1b9e"; logging-data="31790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZVTxBKdL0f29uZgA9v2gD" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:TJnwfehZCgu19F6FCUVcEyky7qA= sha1:o5CFXcO7zhvswDR7W9uE1kwIcx8= Xref: reader01.eternal-september.org comp.lang.ada:56966 Date: 2019-07-26T18:34:41-07:00 List-Id: Lucretia writes: > On Thursday, 25 July 2019 08:26:29 UTC+1, Maciej Sobczak wrote: >> > The one concrete reason I've ever heard for using C or C++ instead >> > of Modula-2 or Ada is that C/C++ allow you to perform pointer >> > arithmetic >> >> Really? I would never consider that reason myself. > > Me neither, but then you can do pointer arithmetic in Ada, you just > use normal numbers and convert to an address. I'm fairly sure there's no guarantee that the result of any such conversion (which would have to use Unchecked_Conversion or something equivalent, unless I've missed something) would be meaningful. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */