X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Garbage collector? Date: 11 Oct 2004 09:38:56 GMT Lines: 14 Message-ID: <2sv2lgF1q1u2hU3@uni-berlin.de> References: X-Trace: news.uni-berlin.de yHNRYDtkPPYzORuD4z36bwmhK2NM1LACqMBfh21cQj+CFn65t7NMJpidRr X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com boohiss wrote: > Is there some sort of garbage collection library for DJGPP, that will put > my mind at ease? No. Neither C nor C++ is designed to be used with garbage collection. It just wouldn't work, because there's essentially no way at all to determine whether a given block of memory is still being referenced by something, somewhere in the program, without changing the very foundations of the language. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.