comp.lang.ada
 help / color / mirror / Atom feed
From: news.byu.edu!news.mtholyoke.edu!nic.umass.edu!nic.umass.edu!hudson@gatech .edu  (Rick Hudson)
Subject: Re: Garbage collection?
Date: 21 Apr 92 23:02:54 GMT	[thread overview]
Message-ID: <HUDSON.92Apr21180254@yough.cs.umass.edu> (raw)

>>>>> On 21 Apr 92 21:09:54 GMT, mcroberts@titan.ksc.nasa.gov said:

mcroberts> I've been looking at two different Ada textbooks which have
mcroberts> very different ideas about garbage collection.  The older
mcroberts> book says that a good Ada compiler should take care of it for
mcroberts> you and you should avoid unchecked_deallocation.  The newer
mcroberts> one says that you need to manage storage yourself using
mcroberts> unchecked_deallocation. I'm curious as to the state of the
mcroberts> art in automated garbage collection.  

The older book is correct. The language was designed to allow GC.
Unfortunately, the newer book reflects the (1992) reality of the situation.
Ada does have the advantage over C++ in that accurate (non-conservative)
collectors can be implemented for the language.  See our upcoming Sigplan
paper (referenced below) for a discussion of how to implement an accurate GC
for languages like Ada along with some of the costs.

@Unpublished{DMH91,
  author = 	 "Amer Diwan and J. Eliot B. Moss and Richard L. Hudson",
  title = 	 "Compiler Support for Garbage Collection in a Statically
  Typed Language",
  note = 	 "To appear in SIGPLAN PLDI",
  OPTcrossref =  "",
  OPTkey = 	 "",
  year = 	 1992,
  OPTmonth = 	 "",
  OPTannote = 	 ""
}
--

                Richard L. Hudson, Research Associate
                University Computing Services
                Lederle Graduate Research Center
                University of Massachusetts
                Amherst, MA  01003
                (413) 545-1220; Hudson@cs.umass.edu

             reply	other threads:[~1992-04-21 23:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-04-21 23:02 Rick Hudson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-04-13 12:14 Garbage Collection ??? ldries46
2012-04-13 13:20 ` Dmitry A. Kazakov
2012-04-13 19:27   ` ldries46
2012-04-13 20:06     ` Dmitry A. Kazakov
2012-04-13 22:49     ` Brian Drummond
2012-04-14  3:21       ` ldries46
2012-04-14 18:21         ` Robert A Duff
2012-04-18  9:07           ` Julian Leyh
2012-04-19 14:36             ` Robert A Duff
2012-04-19 20:26               ` Randy Brukardt
2012-04-20  7:11                 ` Dmitry A. Kazakov
2012-04-21  0:46                   ` Randy Brukardt
1992-04-22 18:55 Garbage collection? dog.ee.lbl.gov!overload.lbl.gov!agate!spool.mu.edu!yale.edu!jvnc.net!darw
1992-04-21 23:48 Robert I. Eachus
1992-04-21 21:09 titan.ksc.nasa.gov!mcroberts
replies disabled

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