Re: why malloc/free instead of GC?

Enrico Weigelt <[email protected]>
Newsgroups gmane.comp.programming.garbage-collection.general
Message-ID <[email protected]>
On Tue, Feb 18, 2003 at 07:44:31PM +0000, [email protected] wrote:
> > a) strings (and other objects which contain no pointers)
> > b) typed objects (we only have to know where pointers lay around)
> > c) untyped objects (must be treatened as an array of pointers)
> 
> pointers between b) and c) are gonna cause problems.
why should they ? 

i dont wanna build an allocator with strictly separated heaps.
the different heaps are for easy detection of the best scan method.
you can simply guess on the address, whether the object is typed,
untyped or w/o pointers.

cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux ITS 
 Webhosting ab 5 EUR/Monat.          UUCP, rawIP und vieles mehr.

 phone:     +49 36207 519931         www:       http://www.metux.de/     
 fax:       +49 36207 519932         email:     [email protected]
 cellphone: +49 174 7066481	     smsgate:   [email protected]
---------------------------------------------------------------------
 Diese Mail wurde mit UUCP versandt.      http://www.metux.de/uucp/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.