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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c50f57c0c29b391b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 28 May 2005 09:47:54 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <1131064.rs72P29t4t@yahoo.com> <3eadnU51CK_eUAjfRVn-hQ@comcast.com> <2001872.III9f6vnvx@yahoo.com> <0cTle.1206$s64.205@newsread1.news.pas.earthlink.net> Subject: Re: memory management Date: Sat, 28 May 2005 07:48:18 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response Message-ID: NNTP-Posting-Host: 24.22.63.157 X-Trace: sv3-ORIW8Q2GeWMphZ5WzXnMPKi+HH86Vt5XB0+RVqCBNst3waV7Js8CRwGyBDp9ojYpGcjd/JhpSII9MtL!Lz9a/1TjyC8QD0l51Oiku+Qk2k9K5MofzjTrWygEP6hQVnb+q4utBBTKPDOj X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:11192 Date: 2005-05-28T07:48:18-07:00 List-Id: "Jeffrey Carter" wrote in message news:0cTle.1206$s64.205@newsread1.news.pas.earthlink.net... > Steve wrote: >> >> For 99% of applications you never need to deal with them. > > Of course not. That's approximately the percentage of applications that > don't need access types. > It is kind of hard to dynamically create objects whos type is determined at run time without them. For example I wrote a data collection application that uses an abstract "scanner" type for data collection. When the system initializes an instance of a class derived from scanner is created and passed to the data collection task. The type of scanner created is selected by a user parameter. It's kind of hard to do this without access types. So, while I agree that access types are needed for a lot fewer cases in Ada than other languages, I disagree with the statement that a high percentage of applications don't need them. Steve (The Duck) > -- > Jeff Carter > "Ditto, you provincial putz?" > Blazing Saddles > 86