home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!olivea!mintaka.lcs.mit.edu!ai-lab!life.ai.mit.edu!tmb
- From: tmb@arolla.idiap.ch (Thomas M. Breuel)
- Newsgroups: comp.lang.c++
- Subject: Re: Garbage Collection for C++
- Message-ID: <TMB.92Aug14130323@arolla.idiap.ch>
- Date: 14 Aug 92 17:03:23 GMT
- References: <1992Aug6.014619.2111@ucc.su.OZ.AU> <DAVEG.92Aug13025629@synaptx.synaptics.com>
- <1992Aug14.021547.15215@news.mentorg.com>
- Sender: news@ai.mit.edu
- Reply-To: tmb@idiap.ch
- Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle
- Perceptive)
- Lines: 21
- In-reply-to: bcannard@hppcb36.mentorg.com's message of 14 Aug 92 02:15:47 GMT
-
- In article <1992Aug14.021547.15215@news.mentorg.com> bcannard@hppcb36.mentorg.com (Bob Cannard @ PCB x5565) writes:
-
- In article <DAVEG.92Aug13025629@synaptx.synaptics.com>, daveg@synaptics.com (Dave Gillespie) writes:
- |> Couldn't we get away with having a garbage collector that didn't
- |> need pointers to be declared `GC'?
-
- I can't see that this is viable given the basic constraints on C++: among
- other things, those who don't want GC shouldn't have to suffer the hits.
-
- What "hits"? In all the cases that I have looked at, the GC overhead
- has been _smaller_ than the overhead of explicit memory management in
- C++. Now, maybe my sample of programs is biased, but if you claim that
- there are "hits", please state either whether you have concrete
- evidence that there are, or whether your statement is just religious
- belief. Your vague statements might easily turn into gospel truth.
-
- Based on my experience, I would turn your statement around and say:
- "those of us who want GC shouldn't have to suffer the inefficiencies
- of not having it".
-
- Thomas.
-