Re: ImageBrowser and Garbage Collection & 2D Graphics Release Notes

  • I have no way of knowing for sure, but the ImageBrowser issue may be related to the more general issues that Quartz 2D may not work well with Garbage Collection and CoreImage may leak with Garbage collection: http://developer.apple.com/releasenotes/GraphicsImaging/RN-CoreImage/

      Garbage collection in Objective-C 2.0 may not be quite ready for prime time at least for some application types.  Garbage collection is very difficult to implement well, and it's doubly so when standard C is in the mix.

      One area that heap based garbage collection has always/often fallen short is management of non-heap resources like graphics card memory, file descriptors, sockets, semaphores, message queues, shared memory, and distributed objects.  Interestingly, reference counted management works well with all of those resources.  I wrote a short summary of the foreseeable problems of Garbage Collection with Objective-C: "mark and sweep garbage collectors including the Boehm-Demers-Weiser conservative garbage collector suffer certain deficiencies when used with C or Objective-C: " http://www.cocoadev.com/index.pl?CocoaNeedsGarbageCollection

      I am very interested to find out which of the problems Apple has avoided.
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today