x PhoneArena is looking for new authors! To view all available positions, click here.
  • Home
  • News
  • 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

Posted: , by Peter K.

Tags:

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

52 Comments
  • Options
    Close




posted on 19 Jun 2014, 04:13 1

1. lallolu (Posts: 235; Member since: 18 Sep 2012)


My apps open fast enough on my LG g2

posted on 19 Jun 2014, 05:05 6

13. 3rdDegree (Posts: 171; Member since: 13 Jul 2013)


I have ART active on my LG G3.

posted on 19 Jun 2014, 07:31 2

21. Mxyzptlk (Posts: 3563; Member since: 21 Apr 2012)


Should've been a default a long time ago

posted on 19 Jun 2014, 07:48 9

23. SuperAndroidEvo (Posts: 4084; Member since: 15 Apr 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...

posted on 19 Jun 2014, 08:17 2

28. Mxyzptlk (Posts: 3563; Member since: 21 Apr 2012)


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

posted on 19 Jun 2014, 10:00 5

42. Berzerk000 (Posts: 4023; Member since: 26 Jun 2011)


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

posted on 19 Jun 2014, 16:04 2

49. Mxyzptlk (Posts: 3563; Member since: 21 Apr 2012)


I'm being neutral

posted on 19 Jun 2014, 23:10

50. Berzerk000 (Posts: 4023; Member since: 26 Jun 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?

posted on 19 Jun 2014, 08:43 7

31. iushnt (Posts: 655; Member since: 06 Feb 2013)


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

posted on 19 Jun 2014, 09:15 4

32. Mxyzptlk (Posts: 3563; Member since: 21 Apr 2012)


Wtf does Apple have to do with this?

posted on 19 Jun 2014, 09:17 4

33. Jinto (Posts: 399; Member since: 15 Jan 2014)


you, duh

posted on 19 Jun 2014, 09:21 2

35. bestmvno (Posts: 149; Member since: 07 Mar 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

posted on 19 Jun 2014, 09:35 3

38. mistertimi (Posts: 76; Member since: 28 May 2014)


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

posted on 19 Jun 2014, 11:29

46. iushnt (Posts: 655; Member since: 06 Feb 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.

posted on 19 Jun 2014, 08:22

29. fanboy1974 (Posts: 1208; Member since: 12 Nov 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.

posted on 19 Jun 2014, 04:15

2. Bootutu (Posts: 189; Member since: 11 Jul 2013)


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

posted on 19 Jun 2014, 04:23 7

3. magnanimus (Posts: 294; Member since: 29 Mar 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

posted on 19 Jun 2014, 04:32 16

4. RebelwithoutaClue (Posts: 919; Member since: 05 Apr 2013)


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...

posted on 19 Jun 2014, 04:46 7

8. Bootutu (Posts: 189; Member since: 11 Jul 2013)


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

posted on 19 Jun 2014, 04:33

5. RebelwithoutaClue (Posts: 919; Member since: 05 Apr 2013)


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.

posted on 19 Jun 2014, 09:35

39. SellPhones82 (Posts: 509; Member since: 11 Dec 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?

posted on 19 Jun 2014, 10:02

43. RebelwithoutaClue (Posts: 919; Member since: 05 Apr 2013)


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

posted on 19 Jun 2014, 10:32

45. XperiaFanZone (Posts: 1321; Member since: 21 Sep 2012)


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

posted on 19 Jun 2014, 23:49

51. roscuthiii (Posts: 1803; Member since: 18 Jul 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.

posted on 19 Jun 2014, 04:34 2

6. gigaraga (Posts: 1050; Member since: 29 Mar 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.

posted on 19 Jun 2014, 04:46 3

9. RebelwithoutaClue (Posts: 919; Member since: 05 Apr 2013)


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.

posted on 19 Jun 2014, 04:59

10. StraightEdgeNexus (Posts: 3342; Member since: 14 Feb 2014)


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

posted on 19 Jun 2014, 05:03

11. RebelwithoutaClue (Posts: 919; Member since: 05 Apr 2013)


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

posted on 19 Jun 2014, 05:08 2

14. StraightEdgeNexus (Posts: 3342; Member since: 14 Feb 2014)


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

posted on 19 Jun 2014, 05:23

16. techspace (Posts: 669; Member since: 03 Sep 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

posted on 19 Jun 2014, 09:56

41. RebelwithoutaClue (Posts: 919; Member since: 05 Apr 2013)


I doubt you will be in trouble when switching to ART. The apps won't grow in size THAT much, besides a lot of (if not most) games don't need Dalvik, since they aren't written in Java but native code.

posted on 19 Jun 2014, 05:54

19. TylerGrunter (Posts: 926; Member since: 16 Feb 2012)


It also needs some more time during installations, as both it needs more time to copy the bigger files and needs to compile the code at installation time.
But the savings when oppening or using apps should make up for it.
I installed it and it´s definitely faster, but I have to go back as Whatsapp was not compatible at the time. That was the only app that didn´t run OK

posted on 19 Jun 2014, 04:45

7. StraightEdgeNexus (Posts: 3342; Member since: 14 Feb 2014)


Good Finally..... Now lets show who's the boss.

posted on 19 Jun 2014, 05:05 3

12. StraightEdgeNexus (Posts: 3342; Member since: 14 Feb 2014)


And yes ART is a vital opinion to shut up pathetic fanboys(esp. WP).

posted on 19 Jun 2014, 05:21

15. joey_sfb (Posts: 2931; Member since: 29 Mar 2012)


I am never bother about the speed of android. Even my first Android phone the Motorola milestone phone the speed is alright with me.

posted on 19 Jun 2014, 06:01

20. StraightEdgeNexus (Posts: 3342; Member since: 14 Feb 2014)


*weapon not opinion xD

posted on 19 Jun 2014, 08:30

30. elitewolverine (Posts: 1617; Member since: 28 Oct 2013)


hey it is a good thing the mother of OS is catching up to the OS that everyone sees as inferior....isnt that how it works?

posted on 19 Jun 2014, 09:34 1

37. StraightEdgeNexus (Posts: 3342; Member since: 14 Feb 2014)


Sure Sir, My lumia 510 with WP 7.8 is so smooth and 256mb RAM ensures top class multitasking, its so advanced and functional that it puts lagdroid and iPOS to shame. :)

posted on 20 Jun 2014, 07:12

52. elitewolverine (Posts: 1617; Member since: 28 Oct 2013)


I knew you would see the light, I got Droid 2.2's to sell you and a note 3

posted on 19 Jun 2014, 05:43

17. XperiaFanZone (Posts: 1321; Member since: 21 Sep 2012)


So....does this affect rooted users?

posted on 19 Jun 2014, 07:52

24. AfterShock (Posts: 2806; Member since: 02 Nov 2012)


In what way?
It effects anyone that uses android an chooses to use ART at this time, its faster an slightly less battery used.

It has no root issues.

posted on 19 Jun 2014, 07:54

25. XperiaFanZone (Posts: 1321; Member since: 21 Sep 2012)


Negatively. I heard that the Google may eradicate root access in the future.

posted on 19 Jun 2014, 08:09 2

26. AfterShock (Posts: 2806; Member since: 02 Nov 2012)


Yeah, no worries here I don't think XPZ.
As far as ART is concerned.
A different ball of wax.

posted on 19 Jun 2014, 08:16

27. XperiaFanZone (Posts: 1321; Member since: 21 Sep 2012)


I see.

+1

posted on 19 Jun 2014, 09:51

40. RebelwithoutaClue (Posts: 919; Member since: 05 Apr 2013)


Newer Android versions might give certain apps who need root some issues, but there seems to be a workaround according to Chainfire.

https://plus.google.com/+Chainfire/posts/Lyhjzu1z9s1

posted on 19 Jun 2014, 05:51 3

18. twens (Posts: 632; Member since: 25 Feb 2012)


It's funny cos last I checked android is still faster than most platforms out there even without art. The htc m8 for example was faster than the 5s. The s5 in some ways is still faster than the 5s plus any windows phone out there. Android just needs consistency in its performance. That's what android really need. Speed wise it's still the champ.

posted on 19 Jun 2014, 09:18

34. Jinto (Posts: 399; Member since: 15 Jan 2014)


s5 is almost as fast as lumia 520

posted on 19 Jun 2014, 09:30 1

36. StraightEdgeNexus (Posts: 3342; Member since: 14 Feb 2014)


Thanks to slouchwiz.

posted on 19 Jun 2014, 10:11

44. AfterShock (Posts: 2806; Member since: 02 Nov 2012)


lol
+1

posted on 19 Jun 2014, 07:42 1

22. majp89 (Posts: 103; Member since: 18 Jun 2013)


I've been using ART for months now. I noticed a lot of apps ran unstable when I used it on my Moto-X, but since I've had my Nexus 5 I haven't had any problems at all. All apps seem to run fine on it.

posted on 19 Jun 2014, 12:45

47. fzacek (Posts: 1701; Member since: 26 Jan 2014)


App developers better get working on optimizing those apps or they're in trouble...

posted on 19 Jun 2014, 13:19

48. StraightEdgeNexus (Posts: 3342; Member since: 14 Feb 2014)


Dont worry bro, kitkat's been available to devs since september means 10 months back. I'm sure the latest SDK has some ART related compulsion for devs.

Want to comment? Please login or register.

Latest stories