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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4103f02f9e6c4df2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-15 15:43:13 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!enst!enst.fr!not-for-mail From: "Beard, Frank" Newsgroups: comp.lang.ada Subject: RE: RE: RE: Ada 0y wish list: Date: Thu, 15 Feb 2001 18:41:32 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: avanie.enst.fr 982280592 48286 137.194.161.2 (15 Feb 2001 23:43:12 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 15 Feb 2001 23:43:12 +0000 (UTC) To: "'comp.lang.ada@ada.eu.org'" Return-Path: X-Mailer: Internet Mail Service (5.5.2448.0) Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:5289 Date: 2001-02-15T18:41:32-05:00 -----Original Message----- From: Ted Dennison [mailto:dennison@telepath.com] > Whether its implemented as a stack object or a heap object does not > change the fact that the referencing code is going to have to be generated to go > out and get X bytes for the object from somewhere, and that code will have to be > recompiled whenver you change the source file that contains the calculation of > X. How does it work for access types? If I change the type that is being "access"ed, anything making use of the size of what it's pointing to has to be recompiled? Why can't it work like an access type does during runtime? Everywhere you can use an access type you could use the deferred type. An array of access types would be just like an array of deferred types. They would both be an array of "addresses". As far as 'size, using X'size would be the same as using X.all'size. Maybe I'm not thinking it through all the way (wouldn't be the first time), but that's why I threw it out on the wish list. To me, it would be a nice to have if it were feasible. It just seems like it could work like an access type without the hassles of new, deallocate, garbage collection, etc. Java does something similar, but that may be part of what contributes to it's poor runtime performance. Frank