The moose likes iOS and the fly likes Automatic reference counting, is it good? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » iOS
Reply Bookmark "Automatic reference counting, is it good?" Watch "Automatic reference counting, is it good?" New topic
Author

Automatic reference counting, is it good?

Fei Ng
Ranch Hand

Joined: Aug 26, 2000
Posts: 1238
Is the new automatic reference counting a good replacement? Is there any thing to watch out for? Any performance hit? Or is it better to do it the old way on the old iOS deceives? It really looks too easy than the old retain/release.
Johannes Fahrenkrug
author
Greenhorn

Joined: Mar 07, 2007
Posts: 22
Hi Fei,

no, it's not good. It's AWESOME! There is no performance hit, since it happens at compile time, not at runtime.
Watch this video from WWDC 2011 about it: https://developer.apple.com/videos/wwdc/2011/includes/introducing-automatic-reference-counting.html#introducing-automatic-reference-counting

Cheers,

Johannes
Fei Ng
Ranch Hand

Joined: Aug 26, 2000
Posts: 1238
Great to hear and thanks for the link.
 
IntelliJ Java IDE
 
subject: Automatic reference counting, is it good?
 
Threads others viewed
Garbage collection & memory leaks in Java
Essential points of Obj-C for the Pythonic crowd
How do IOS programmers handle the lack of garbage collection in IOS?
Java Questions in Interview
Is it possible to convert java code to objective c?
IntelliJ Java IDE