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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9bf8bfc34e223b4d X-Google-Attributes: gid103376,public From: Brian Rogoff Subject: Re: GNAT controlled types Date: 1998/01/28 Message-ID: #1/1 X-Deja-AN: 320099913 References: <01bd2b67$04bf1760$79f482c1@xhv46.dial.pipex.com> Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: 886028551 29388 bpr 206.184.139.132 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-01-28T00:00:00+00:00 List-Id: On Wed, 28 Jan 1998, Tucker Taft wrote: > > The decision to base controlled types on type extension was an attempt > to ensure a relatively straightforward implementation, where the > root controlled type would contain links for inserting the controlled > object on a linked list. Ultimately, other considerations (such as > "mutable" discriminated types) pushed us to abandon the > links-through-the-object implementation model in our Ada 95 front end, > but I believe other compilers have taken advantage of the type > extension approach. Could you elaborate a bit more on why you switched implementation models, and how your front end implements them now? I used to hold the same view as Nick, i.e. that this conflation of Controlled-ness and tagged-ness was a flaw, and I changed my mind after trying to figure out alternative approaches. -- Brian