Linked by Thom Holwerda on Fri 3rd Feb 2012 23:43 UTC
PDAs, Cellphones, Wireless There's an article making the rounds right now about how applications on iOS crash more often than applications on Android. I'm not going to detail the entire methodology - the article itself does so - but it does raise an interesting talking point about how both mobile operating systems handle application crashes and updates.
Thread beginning with comment 505930
To view parent comment, click here.
To read all comments associated with this story, please click here.
_txf_
Member since:
2008-03-17

I'm pretty sure that Objective-C uses some kind of mem management... It's not just plain C


Aye, It uses reference counting...

(2.0 also has a GC but that isn't present in iOS)

Edited 2012-02-04 21:48 UTC

Reply Parent Score: 1

moondevil Member since:
2005-07-08

"I'm pretty sure that Objective-C uses some kind of mem management... It's not just plain C


Aye, It uses reference counting...

(2.0 also has a GC but that isn't present in iOS)
"

Not really.

The GC introduced in 2.0 was a failure, because it was not compatible with many Objective-C frameworks.

The reference counting mechanism introduced recently is a joke, because basically the compiler relies on certain programming patterns to guess what to do. And this, again, only works with certain frameworks.

http://clang.llvm.org/docs/AutomaticReferenceCounting.html

Reply Parent Score: 3