comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Flexible Strings (was Equality operator...)
Date: 1997/05/10
Date: 1997-05-10T00:00:00+00:00	[thread overview]
Message-ID: <dewar.863277551@merv> (raw)
In-Reply-To: 3374220A.74D0@sprintmail.com


John Volan said

<<Erik Magnuson wrote:

> Robert, your claim is a little broad here. I have used 2 different Ada 83
> compilers runtimes for embedded targets that did NOT implement any storage
> reclamation for Unchecked_Conversion, i.e., UC simply set the pointer to>>

(UC => UD as per later clarification)


For an Ada 83 compiler with a narrow intended target of use (embedded
targets), this may not be a bad choice. Many coding standards for high
reliability code allow dynamic allocation, but do NOT allow dynamic
freeing (the former is safe and easy to analyse, the latter potentially
dangerous and very hard to analyze).

So, I can certainly see that this choice might make sense for such a
compiler. I was really thinking in terms of general purpose Ada 83
compilers when I made the statement.

But in any case, the storage pools of Ada 95 give a much greater level
of control. For examle, in the embedded case, you could use the storage
pools to

a) completely forbid deallocatoin
b) ignore deallocation
c) implement an alloc/free that had bounded time behavior

etc.





  reply	other threads:[~1997-05-10  0:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-30  0:00 Flexible Strings (was Equality operator...) W. Wesley Groleau (Wes)
1997-04-30  0:00 ` Matthew Heaney
1997-05-01  0:00   ` Robert Dewar
1997-05-02  0:00   ` Kevin Cline
1997-05-03  0:00     ` Robert Dewar
1997-05-04  0:00       ` Kevin Cline
1997-05-04  0:00         ` Robert Dewar
1997-05-06  0:00           ` Kaz Kylheku
1997-05-07  0:00             ` Robert A Duff
1997-05-07  0:00               ` Robert Dewar
1997-05-08  0:00               ` Robert I. Eachus
1997-05-07  0:00             ` Robert Dewar
1997-05-07  0:00             ` Kevin Cline
1997-05-07  0:00               ` Matthew Heaney
1997-05-07  0:00                 ` Jon S Anthony
1997-05-07  0:00               ` Robert A Duff
1997-05-07  0:00               ` Robert Dewar
1997-05-07  0:00               ` Jon S Anthony
1997-05-07  0:00             ` Robert Dewar
1997-05-09  0:00           ` Erik Magnuson
1997-05-10  0:00             ` John G. Volan
1997-05-10  0:00               ` Robert Dewar [this message]
1997-05-10  0:00                 ` Matthew Heaney
1997-05-11  0:00                   ` Robert Dewar
1997-05-12  0:00               ` Erik Magnuson
1997-05-10  0:00             ` Robert Dewar
1997-05-10  0:00               ` Matthew Heaney
1997-05-03  0:00     ` Jon S Anthony
     [not found] <199705010554.WAA24507@ni1.ni.net>
1997-05-01  0:00 ` W. Wesley Groleau (Wes)
1997-05-02  0:00   ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox