News for hackers. Stuff that matters.
Re:Go for Objective-C developers by mpweiher on Wednesday February 12, 2014 @05:15PM (#7227731)
The failure to develop a stable and performant GC is part of the reason. Another part is that such a GC is very difficult for C/Objective-C (one could say impossible or close enough to it as to not make a difference).

However, that's not all of it. The iOS teams wouldn't touch the GC with a 10 foot pole, even had it worked, and with good reason. As the parent poster pointed out, GCs make performance and memory consumption unpredictable, especially on memory-constrained devices.

And yes, phones are memory-constrained, despite the 1/2 - 1GB of memory, because you are also managing some potentially very large assets (retina class images, ...). Especially without virtual memory, where having an unexpected spike in memory consumption can get you killed, having unpredictable memory consumption is a non-starter...and the pain you have to go through on Android to avoid GC problems is significant (for example real-time OCR via the video camera overlaid onto the video stream).

It's interesting that Android appears to be moving away from JIT to AOT with libart, I am very curious as to how that works out. My guess is that at least a subset of developers, those with stringent requirements, would also welcome more predictable memory management solution.

Re:Go for Objective-C developers by pjmlp on Thursday February 13, 2014 @03:12AM (#7230098)
True, although WP doesn't not seem to have the performance issues of Android.

WP7 was full .NET with JIT.

WP8 is WinRT/.NET with AOT compilation.

Both seem to perform much better than Android and on par with iOS.

Although I do conceded that on WP8 there is a mix of reference counting(WinRT) and GC (.NET).

Google was supposed to present more information about ART at FOSDEM, but they canceled the presentation on the last minute. So still no information what they plan there, besides AOSP source code.

Xerox PARC systems already had GC enabled programming languages (Cedar/Lisp/Smalltalk) and they surely were less powerful than today's phones.