Ada has garbage collection
From: Wes Groleau (groleau+news_at_freeshell.org)
Date: 08/24/04
- Next message: Adrian Hoe: "Re: Feasibility of using Ada in new development"
- Previous message: Randy Brukardt: "Re: Ada equivalent to С++ header sentence."
- Next in thread: Florian Weimer: "Re: Ada has garbage collection"
- Reply: Florian Weimer: "Re: Ada has garbage collection"
- Reply: Jean-Marc Bourguet: "Re: Ada has garbage collection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 23 Aug 2004 22:49:22 -0500
OK, we could argue semantics, but every language with
parameters/data on the call stack has garbage collection
for all those objects.
And Ada makes it far less necessary than some languages
to avoid pointers and use locals instead.
Many vendors use the heap for large things, but AFAIK,
they keep it transparent and do the "garbage collection"
just as well as if the objects stayed on the stack.
Of course, some problems/data structures almost demand
pointers, but with sensible encapsulation and package
designed, controlled types provide all the GC those things need.
How does that differ from C++ destructors?
Java couldn't afford to be without universal GC, because
it makes almost everything on the heap, and allows no
definition of destructors.
--
Wes Groleau
Even if you do learn to speak correct English,
whom are you going to speak it to?
-- Clarence Darrow
- Next message: Adrian Hoe: "Re: Feasibility of using Ada in new development"
- Previous message: Randy Brukardt: "Re: Ada equivalent to С++ header sentence."
- Next in thread: Florian Weimer: "Re: Ada has garbage collection"
- Reply: Florian Weimer: "Re: Ada has garbage collection"
- Reply: Jean-Marc Bourguet: "Re: Ada has garbage collection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|