Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcupt1!thomasw From: thomasw@hpcupt1.HP.COM (Thomas Wang) Newsgroups: comp.object Subject: Re: Re: C++ and garbage collection (long, but interesting :->) Message-ID: <-283749999@hpcupt1.HP.COM> Date: 20 Sep 90 16:46:58 GMT References: Organization: Hewlett Packard, Cupertino Lines: 16 It is possible to use a non-conservative GC with C++. The requirement is that the concept of a 'GC pointer' need to be encapsulated into a C++ class. I have done such an implementation as part of a Master's thesis at Cal Poly. It worked with single inheritance only. Unfortunately C++ multiple inheritance is incompatible even with the 'GC pointer' encapsulation scheme. I think the thesis can be ordered at the California Polytechnic University library. The thesis is called 'The "MM" Garbage Collector for C++'. -Thomas Wang (Everything is an object.) wang@hpdmsjlm.cup.hp.com thomasw@hpcupt1.cup.hp.com