Linked by Thom Holwerda on Thu 19th Jun 2014 09:58 UTC
Google

Ever since we first saw ART appear alongside the release of Android 4.4 KitKat, we all knew that it would eventually replace the aging and relatively inefficient Dalvik runtime compiler. Well folks, the time is now upon us, as commits made late last night to the AOSP master branch show Dalvik getting the axe and ART being set as the default.

Should deliver some decent performance improvements. I tried switching to ART months ago but ran into problems with some applications not working properly. Has the situation improved? Are any of you using ART?

Thread beginning with comment 590962
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: Re:
by Bill Shooter of Bul on Thu 19th Jun 2014 21:20 UTC in reply to "RE[2]: Re:"
Bill Shooter of Bul
Member since:
2006-07-14

Well, it sounds like you are talking about garbage collection in the abstract.

In Objective C it was so bad, they never even made it available in ios, and are removing it from a future version.

http://en.wikipedia.org/wiki/Objective-C#Garbage_collection

Reply Parent Score: 3

RE[4]: Re:
by moondevil on Thu 19th Jun 2014 21:49 in reply to "RE[3]: Re:"
moondevil Member since:
2005-07-08

It never stops to amaze me how Apple's inability to make GC work in Objective-C keeps getting used as example why GC is bad.

Apple's GC implementation was half-baked with lots of corner cases, requiring frameworks to be explicitly compiled with GC support to work well together. When not, lots of strange bugs used to pop up.

One just needs to browse the old developer pages to see how much corner cases which required developer's attention were required. The developer forums had quite a few ongoing discussions about hard to track down crashes.

Objective-C ARC only works better than GC, because it only applies to classes that follow Cocoa retain/release patterns, so in practice the compiler is writing what the developers were already doing by hand.

But better sell failure as the new solution is better.

Reply Parent Score: 3

RE[5]: Re:
by Bill Shooter of Bul on Sat 21st Jun 2014 01:17 in reply to "RE[4]: Re:"
Bill Shooter of Bul Member since:
2006-07-14

I am against auto garbage collection, but I totally understand that Apple sucked it up big time in their implementation. I don't think I stated otherwise.

Reply Parent Score: 2