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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ce0900b60ca3f616 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-15 16:32:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!not-for-mail Message-ID: <3BF45E5B.2E@li.net> From: Vincent Marciante X-Mailer: Mozilla 3.0 (OS/2; I) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: List container strawman References: <9rti6v$hcu$1@news.huji.ac.il> <1EyE7.10050$xS6.13527@www.newsranger.com> <9rue9f$j4t$1@nh.pace.co.uk> <9ruiet$kqg$1@nh.pace.co.uk> <3BE3235D.E292B890@boeing.com> <3BE35498.9F6381A2@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 15 Nov 2001 19:31:23 -0500 NNTP-Posting-Host: 168.191.55.96 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 1005870712 168.191.55.96 (Fri, 16 Nov 2001 00:31:52 GMT) NNTP-Posting-Date: Fri, 16 Nov 2001 00:31:52 GMT Organization: Verio Xref: archiver1.google.com comp.lang.ada:16600 Date: 2001-11-15T19:31:23-05:00 List-Id: Jeffrey Carter wrote: > > Matthew Heaney wrote: > > > > "Jeffrey Carter" wrote in message > > news:3BE3235D.E292B890@boeing.com... > > > Another place where some compiler writers use tricks is the interaction > > > between a random number Generator value and the Random function. > > No heap allocation or compiler magic is needed to implement Generator; just > > use the Rosen Trick: > > Yes, that is a trick that can be used (although your example has a > couple of errors). Was it known before standardization? I somehow > suspect it would have been outlawed if it were. > > GNAT uses > I wonder if there is some advantage to this trick over the Rosen > trick. IIRC The GNAT code was written before the Rosen Trick was first described. The GNAT code worked and there was no important reason to change it. If the Rosen Trick was known at the time, it would have been used. Vincent Marciante