gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjectiveC accessors


From: Helge Hess
Subject: Re: ObjectiveC accessors
Date: Mon, 31 May 2004 16:33:49 +0200

On May 31, 2004, at 15:48, Marcel Weiher wrote:
On 31 May 2004, at 13:38, Helge Hess wrote:
I agree that this is not necessarily a good idea ;-), but notably Boehm-GC can be used as a drop-in replacement for the malloc library (without altering semantics!)
No. It definitely alters semantics, because programs with "hidden" pointers will cease to function properly. These are legal C programs, so by making them non-functional, you have altered semantics.

Incorrect. As mentioned it can be configured as a drop-in replacement which is 100% compatible to legal C programs. Hidden pointers will work with malloc_uncollectable (which will be used in replacement mode), but will properly expose the malloced sections for GC scanning on objects that use GC-malloc.

So, just one of the misinformations floating around about Boehm-GC ;-) There are certainly issues with it, but actually it is pretty well thought out and provides a lot of options.

Greets,
  Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]