Re: memory management
- From: "Steve" <nospam_steved94@xxxxxxxxxxx>
- Date: Sat, 28 May 2005 07:48:18 -0700
"Jeffrey Carter" <spam@xxxxxxxx> wrote in message
news:0cTle.1206$s64.205@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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
.
- References:
- memory management
- From: alex goldman
- Re: memory management
- From: David C. Hoos, Sr.
- Re: memory management
- From: Steve
- Re: memory management
- From: alex goldman
- Re: memory management
- From: Steve
- Re: memory management
- From: Jeffrey Carter
- memory management
- Prev by Date: Re: memory management
- Next by Date: Adding functions to generic package
- Previous by thread: Re: memory management
- Next by thread: Re: memory management
- Index(es):