comp.lang.ada
 help / color / mirror / Atom feed
From: Erik Magnuson <erik@fl.ensco.com>
Subject: Re: Flexible Strings (was Equality operator...)
Date: 1997/05/09
Date: 1997-05-09T00:00:00+00:00	[thread overview]
Message-ID: <lvzpu4gvt7.fsf@sulu.fl.ensco.com> (raw)
In-Reply-To: dewar.862755569@merv


dewar@merv.cs.nyu.edu (Robert Dewar) writes:
> BUT, does this matter in practice? Of course not, all Ada compilers always
> have followed this advice for the standard storage pool, and it would be
> surprising if it were otherwise. This is exactly the same situation as
> observing that all C compilers actualy free storage when free is used.
> 
> Is it possible to make a formally conforming implementation in which
> unchecked deallocation is useless. Most certainly. It is also possible
> to make a formally conforming impl,ementation in which all integr
> additions take one hour to complete. Bothy implementations are formally
> correct according to the standard, both are totally useless!

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
null. (One of these was the small runtime from a company you used to work
with!) Now, both of these compilers also had versions that supported
reclaiming storage. But for small, embedded systems, it is often nice to
have a simple "new" that you can use at startup without including any
overhead for UC. If you believe that these compilers were useless, you had
better not fly on any modern commercial airliner.

-- 
Erik




  parent reply	other threads:[~1997-05-09  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     ` Jon S Anthony
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 Dewar
1997-05-07  0:00             ` Kevin Cline
1997-05-07  0:00               ` Robert Dewar
1997-05-07  0:00               ` Jon S Anthony
1997-05-07  0:00               ` Robert A Duff
1997-05-07  0:00               ` Matthew Heaney
1997-05-07  0:00                 ` Jon S Anthony
1997-05-07  0:00             ` Robert Dewar
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-09  0:00           ` Erik Magnuson [this message]
1997-05-10  0:00             ` John G. Volan
1997-05-10  0:00               ` Robert Dewar
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
     [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