If my resource is handed off to some external subsystem for release and I can't DETERMINE the order of the releases with respect to each other and other components of my code, then I would call that non-deterministic and undesirable.
feel free to disagree. the purpose of my message was to publish a solution I found useful. One is free to use it or ignore it. On Thursday, June 25, 2009, at 11:39PM, "Chris Idou" <idou...@yahoo.com> wrote: > > > >________________________________ >From: James Gregurich <bayoubenga...@mac.com> > >> I have read up on GC, and I don't like the idea of introducing >> non-deterministic behavior into my code base. > > >I would question the assertion that GC introduces non-deterministic behavior, >unless you consider the time it takes for particular code to execute to be >"behavior". > >In which case standard malloc/free is not deterministic either, since >algorithms for amalgamating free areas in the heap are not exactly >predictable, and the time they take will not be constant across different >calls. > >That's why if you were controlling the space shuttle you wouldn't use >malloc/free OR GC. > > > Access Yahoo!7 Mail on your mobile. Anytime. Anywhere. >Show me how: http://au.mobile.yahoo.com/mail _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com