Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!husc6!redsox!campbell From: campbell@redsox.bsw.com (Larry Campbell) Newsgroups: comp.lang.c++ Subject: Re: Eiffel vs. C++ -- Let's drop the garbage collection arguments Message-ID: <790@redsox.bsw.com> Date: 25 Jun 89 02:53:07 GMT References: <6590166@hplsla.HP.COM> Reply-To: campbell@redsox.UUCP (Larry Campbell) Organization: The Boston Software Works, Inc. Lines: 15 In article <6590166@hplsla.HP.COM> jima@hplsla.HP.COM (Jim Adcock) writes: -> What I should have said is that "there is no language support for GC in C++" -> (true) even though by suitable hackery you can graft it in; - -(false.) Overloading "new" and "delete" constitute C++ support for GC in -my opinion, since I can now attach the GC scheme of my choice where I want -it when I want it. Either as a global decision, or on a class by class basis. Nope. How do you find the garbage? Overloading new() and delete() won't find garbage for you. I can easily lose a pointer to an object without calling delete() on it. -- Larry Campbell The Boston Software Works, Inc. campbell@bsw.com 120 Fulton Street wjh12!redsox!campbell Boston, MA 02146