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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a0c:98ac:: with SMTP id f41-v6mr5132189qvd.45.1530187718183; Thu, 28 Jun 2018 05:08:38 -0700 (PDT) X-Received: by 2002:ac8:714a:: with SMTP id h10-v6mr551448qtp.2.1530187717975; Thu, 28 Jun 2018 05:08:37 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!2.eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.70.MISMATCH!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!h2-v6no1321911qtp.0!news-out.google.com!a20-v6ni475qtj.1!nntp.google.com!h2-v6no1321900qtp.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 28 Jun 2018 05:08:37 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=185.30.132.97; posting-account=hya6vwoAAADTA0O27Aq3u6Su3lQKpSMz NNTP-Posting-Host: 185.30.132.97 References: <584564c2-9f64-4965-b045-535cdaf899c0@googlegroups.com> <2d617160-ac33-40e6-a06a-97cc0b53062d@googlegroups.com> <874lhsnvye.fsf@adaheads.home> <0a01e940-ec24-40b2-83f0-93157e379dc5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Why are Ada compilers difficult to write ? From: Vincent Injection-Date: Thu, 28 Jun 2018 12:08:38 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2446 X-Received-Body-CRC: 3732882255 Xref: reader02.eternal-september.org comp.lang.ada:53402 Date: 2018-06-28T05:08:37-07:00 List-Id: Le lundi 25 juin 2018 22:07:16 UTC+2, Dirk Craeynest a =C3=A9crit=C2=A0: > > >> At Ada-Europe 2018, Maroua Maalej presented a paper with the title "Sa= fe > >> Dynamic Memory Management in Ada and SPARK". It explains how you can > >=20 > Paper: > https://link.springer.com/content/pdf/10.1007%2F978-3-319-92432-8_3.pdf I am a little bit shocked by this proposal : 1. The "Owning Object Aspect" changes the semantics of Access types in Ada.= =20 X :=3D Y; would now mean that=20 - X'New =3D Y'Old - Y'New =3D null=20 2. Shouldn't we create a new category of Owning Types instead of a new spec= ial case of access values ? And add a new operator like : X <- Y; 3. In fact shouldn't this idea of owning object be instatiated in Ada as li= mited types ? Wasn't the purpose of limited types to precisely forbid assig= nement so as to avoid aliasing of dynamically allocated objects ? Like task= s types for instance, or protected types... Regards, Vincent