Xref: utzoo comp.lang.c++:3634 comp.lang.eiffel:265 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!cernvax!ethz!marti From: marti@ethz.UUCP (Robert Marti) Newsgroups: comp.lang.c++,comp.lang.eiffel Subject: Re: Eiffel vs. C++ -- Let's drop the garbage collection arguments Summary: you CAN have gc for C++ Message-ID: <1220@ethz.UUCP> Date: 12 Jun 89 13:31:10 GMT References: <77300029@p.cs.uiuc.edu> <1021@krafla.rhi.hi.is> <778@redsox.bsw.com> Organization: ETH Zuerich Lines: 19 In article <778@redsox.bsw.com>, campbell@redsox.bsw.com (Larry Campbell) writes: > In C++, you CANNOT have garbage collection. Wrong. You can redefine operator new to use a garbage collecting allocator, for example the one written by Hans-Juergen Boehm and Alan Demers, which is described in H.-J. Boehm, M. Weiser: Garbage Collection in an Uncooperative Environment. Software Practice & Experience, Sept. 1988, pp.807-820. and available from the archive server at RICE University. In release 2.0, you can even redefine operator new on a class per class basis. -- Robert Marti Phone: +41 1 256 52 36 Institut fur Informationssysteme ETH-Zentrum CSNET/ARPA: marti%inf.ethz.ch@relay.cs.net CH-8092 Zurich, Switzerland UUCP: ...uunet!mcvax!ethz!marti