Date: Sun, 22 Dec 1996 09:33:46 +0200 (IST) From: Eli Zaretskii To: "Alaric B. Williams" cc: djgpp AT delorie DOT com Subject: Re: windows <-> cwsdpmi In-Reply-To: <851033912.16327.1@abwillms.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 19 Dec 1996, Alaric B. Williams wrote: > an implementation of garbage collection that can be turned on at compile time would be nice, too... I don't see how a garbage collecting could be built into a general-purpose memory allocator of a C library. Since in C, every pointer is just an address of a memory chunk, how would you relocate data (to compact used memory) without breaking C code? IMHO, there's no simple way to even know which pointers are unused and can be freed. Maybe in C++, but not in C. Do I miss something?