comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Idea for Ada 200x: Arguments that are procedures
Date: 1998/07/04
Date: 1998-07-04T00:00:00+00:00	[thread overview]
Message-ID: <1998Jul4.094114.1@eisner> (raw)
In-Reply-To: 359D41CE.D3976FA6@earthlink.net


In article <359D41CE.D3976FA6@earthlink.net>, Charles Hixson <charleshixsn@earthlink.net> writes:
> Van Snyder wrote:
>> 
>> Procedures that are arguments are restricted in Ada because of the
>> possibility of copying the pointer to somewhere that has a longer
>> lifetime than the up-level environment of the procedure.
>> 
> 	/*	snip	*/
>> to my deep-in-the-guts-of-the-system procedure as the actual argument.
>> I can't do this now, because the type might outlive the procedure, and
>> therefore a pointer to the procedure might outlive its up-level.

> I find the lack of a decent garbage collector to be a MUCH more
> troublesome problem.

So speak to your compiler vendor about garbage collection.
That does not seem to be a standards issue, and until there
are more Ada garbage collection implementations in use, it
would seem presumptuous to attempt to decide what constituted
a "decent" one.

Larry Kilgallen




  reply	other threads:[~1998-07-04  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-03  0:00 Idea for Ada 200x: Arguments that are procedures Van Snyder
1998-07-02  0:00 ` Robert Dewar
1998-07-02  0:00 ` Brian Rogoff
1998-07-03  0:00 ` Steve Whalen
1998-07-03  0:00   ` Robert Dewar
1998-07-03  0:00     ` Brian Rogoff
1998-07-03  0:00   ` Brian Rogoff
1998-07-03  0:00     ` Steve Whalen
1998-07-04  0:00       ` Larry Kilgallen
1998-07-07  0:00       ` Robert I. Eachus
1998-07-07  0:00         ` Brian Rogoff
1998-07-03  0:00 ` Charles Hixson
1998-07-04  0:00   ` Larry Kilgallen [this message]
1998-07-06  0:00   ` Dr Richard A. O'Keefe
replies disabled

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