3 ms·
Windows Mobile supports garbage collection in Compact Framework without any hiccups and with less RAM (64Mb). One could argue that WM does not have such rich
by DenisM 18y ago
Windows Mobile supports garbage collection in Compact Framework without any hiccups and with less RAM (64Mb).
One could argue that WM does not have such rich applications, but to that I have two counter-arguments: 99% of iPhone apps not rich in functionality and therefore number of objects. Fatness of iPhone apps comes from graphics, not from large number of objects and GC should not be negatively affected.
My theory of all this is that Apple is taking things step-by-step, adding each feature only as it matures. Writing a good GC takes a lot of expertise and effort. It's an extra challenge that ObjC is not a managed language, unlike CLR-based languages.
- andrewf 18y agoThere's already a garbage collector in the Objective-C runtime for regular Mac OS X. People targeting OS X 10.5 and higher (that's anyone writing a new app) are happily using it. They've just chosen not to enable its usage on the iPhone.