It's official: the next version of Android uses the ART runtime by default

It's official: the next version of Android uses the ART runtime by default
The experimental ART runtime compiler got introduced alongside Android 4.4 KitKat and it's time to shine will come with the next iteration of Android, just as we told you several months ago. The latest changes to AOSP's source code indicate that the upcoming version of Android (be it 4.5 or 5.0) will indeed run ART instead of Dalvik by default. The latter uses a Just-In-Time (JIT) code compiling, which processes code only when an app needs it. ART, in the meantime, comes with an Ahead-Of-Time (AOT) compiling, which runs the code before it is needed. ART usually compiles said code during the installation of a given app, thus substantially reducing the time needed for said app to launch.

While ART offers slightly better performance and improved battery life, there are still some apps that are still not optimized to run under the new runtime. Those that have not been rewritten to work with ART might not work probably and cause a lot of issues. If you are into experimenting, you can give ART a try at the moment, too. Your device has to be running Android 4.4 KitKat or higher.


source: AOSP (1), (2) via XDA

FEATURED VIDEO

52 Comments

1. lallolu

Posts: 731; Member since: Sep 18, 2012

My apps open fast enough on my LG g2

13. 3rdDegree

Posts: 218; Member since: Jul 13, 2013

I have ART active on my LG G3.

21. Mxyzptlk unregistered

Should've been a default a long time ago

23. SuperAndroidEvo

Posts: 4888; Member since: Apr 15, 2011

Ok so what? It's the default from here on out. They have a HUGE library of apps that didn't use ART. Plus Android 4.4 KitKat is still relatively new, so how on Earth should they have had it as a "default" a long time ago? Hmmm...

28. Mxyzptlk unregistered

Because it should have been a default when Project Butter, the supposed end of Android lag, was implemented in Jellybean.

42. Berzerk000

Posts: 4275; Member since: Jun 26, 2011

It was still in beta when 4.1 came out, and even now not every app supports ART. You're being unrealistic.

49. Mxyzptlk unregistered

I'm being neutral

50. Berzerk000

Posts: 4275; Member since: Jun 26, 2011

You're being impossible to please by setting standards for Google that they couldn't possibly reach. Not only that, but even if they traded Dalvik for ART with 4.1, you would've scolded them for releasing an unfinished product. It's just now getting ready for official launch in 2014, you really think they could have put it in Android 2 years ago?

31. iushnt

Posts: 3067; Member since: Feb 06, 2013

Like how Apple should have included many features of iOS 8 (Split Screen, good multitasking, etc) a long time ago?

32. Mxyzptlk unregistered

Wtf does Apple have to do with this?

33. Jinto

Posts: 436; Member since: Jan 15, 2014

you, duh

35. bestmvno

Posts: 251; Member since: Mar 07, 2014

Don't forget real keyboards, that swipe and contextually word predict....Still no true in app sharing or way to set certain apps that compete with Apple as default. Maybe iOS9, 10 or 11 will finally get those

38. mistertimi

Posts: 77; Member since: May 28, 2014

Way to go iushnt, making us Android folk look like Apple-hating noobs, even when no-one mentions them. Jesus, man!

46. iushnt

Posts: 3067; Member since: Feb 06, 2013

When ever I see mxy's comments, its always either 'Apple loving' or 'everything else hating* especially Samsung. I don't bother about his Apple loving posts and have also liked some them but in android article I always find his posts little offensive and trying to show as if apple is superior to everything else even when he doesn't mention apple. Mxy and Apple, both are like a synonym for me.

29. fanboy1974

Posts: 1345; Member since: Nov 12, 2011

Same here on my Note 3. Never said to myself "man these apps are slow to open". I'm even back on my stock rom and the only thing I've done was freeze all the Verizon bloatware and install some xposed tweaks such as no YouTube ads and wanam xposed.

2. Bootutu

Posts: 228; Member since: Jul 11, 2013

My S5 and M8 both support ART, just enable in developer options.

3. magnanimus

Posts: 565; Member since: Mar 29, 2013

I never really seem to get why people own 2 flagships. Is it for reviews or just pure bragging rights? Or you could have gotten 2 different OSes to be diverse

4. RebelwithoutaClue unregistered

Or they might need two numbers, personal and business. Or they love tech and want to own as much gadgets as they own. Or they can't decide.. the list goes on...

8. Bootutu

Posts: 228; Member since: Jul 11, 2013

Got S5 from work for KNOX security, bought M8 for personal use.

5. RebelwithoutaClue unregistered

Haven't switched to Art on my Nexus 5 yet, since I'm using Xposed and the developer Rovo will make the change to Art when the final version of Art is implemented.

39. SellPhones82

Posts: 569; Member since: Dec 11, 2008

Xposed is the only reason I've not switched to ART. From what I've read, Xposed will need a complete rewrite, is that not the case?

43. RebelwithoutaClue unregistered

Yes it will need a complete rewrite, since ART works in a completely different way. More information on http://forum.xda-developers.com/showpost.php?p=49979752&postcount=8427

45. XperiaFanZone

Posts: 2277; Member since: Sep 21, 2012

I did not know that at all. Not looking forward to ART at this time

51. roscuthiii

Posts: 2383; Member since: Jul 18, 2010

Same boat here... Running Xposed on my 7. Loving the power of Xposed so no ART to be found here. Haven't even bothered updating past 4.4.2 yet. Plus, options like the Qualcomm Optimized Dalvik to my knowledge are still yielding better results than ART.

6. gigaraga

Posts: 1454; Member since: Mar 29, 2013

Can't wait to see how much faster it actually is. Couple that with the latest hardware and you won't get people who bash Android or TouchWiz for that sake on how slow it is.

9. RebelwithoutaClue unregistered

The bashing will continue anyway. And I doubt TW won't be able to slow down Art as well. But I am curious how much faster Art really is. Also Art is 64-bit compatible, whereas Dalvik isn't.

10. StraightEdgeNexus

Posts: 3689; Member since: Feb 14, 2014

I heard ART eliminates the need of a virtual machine, and so it is faster, and so I'm excited. ;-)

11. RebelwithoutaClue unregistered

True, Dalvik VM compiles the app the moment you run the app. Art compiles the app when you install it. It will need a bit more space tho

14. StraightEdgeNexus

Posts: 3689; Member since: Feb 14, 2014

It will need more space yet Google is limiting storage. SMH.

16. techspace

Posts: 1037; Member since: Sep 03, 2012

My nexus 5 has less than 4gb left in it and most of the memory is taken up by the apps and games and my phone is not even running on art I hope that art in android 5.0 takes up lesser space than it does on 4.4.x

Latest Stories

This copy is for your personal, non-commercial use only. You can order presentation-ready copies for distribution to your colleagues, clients or customers at https://www.parsintl.com/phonearena or use the Reprints & Permissions tool that appears at the bottom of each web page. Visit https://www.parsintl.com/ for samples and additional information.