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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f93e461e8491e322 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Limited_Controlled, orthogonality and related issues Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1xayd4jh8w33a.1meq1440lgi4v.dlg@40tude.net> Date: Fri, 19 Jan 2007 19:26:00 +0100 Message-ID: NNTP-Posting-Date: 19 Jan 2007 19:25:48 CET NNTP-Posting-Host: 1041de79.newsspool2.arcor-online.net X-Trace: DXC=P6I?FPM8J04]E=H1Q9`787A9EHlD;3Yc24Fo<]lROoR1Fl8W>\BH3Y2hk23ATak289DNcfSJ;bb[5IRnRBaCdBg8 On Fri, 19 Jan 2007 11:36:57 -0500, Robert A Duff wrote: > "Dmitry A. Kazakov" writes: > >> On Fri, 19 Jan 2007 10:29:35 -0500, Robert A Duff wrote: >> >>> Make all types tagged. For efficiency, this would require a different >>> run-time model than what Ada compilers currently do -- you don't want >>> to store a tag field with every Boolean variable! To enable the >>> non-stored-tag model, eliminate the rule that all tagged parameter >>> are aliased (and allow "aliased" keyword). >>> >>> None of the above are likely to happen, I suspect. >> >> Even if we, all the Ada community, really wanted it? > > The Ada community wants compatibility with older versions of the > language. What I described above is not compatible. I don't directly see what and why. We could make all types "tagged" with non-stored tags. The keyword "tagged" would mean a stored tag + by-reference semantics. This looks fully backward compatible to me, at first glance. As for legacy exceptions, we should choose a model first. Is End_Error a type (derived from Root_Exception) or a value of Root_Exception? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de