Google debuts ART in KitKat, aims to change Android

07 November, 2013

Here's something you probably haven't even heard of yet. It's a little something that Google engineers have been working on for over two years, which will change the very way your Android smartphone runs apps.

ART, which is short for Android Runtime, aims to replace Dalvik and change the way your Android-powered smartphone runs. Dalvik is the one responsible for running apps on Android. Its runtime uses the JIT complier (Just-In-Time) to interpret bycode, which is a partial version of the original application code. ART uses the AOT process (Ahead-Of-Time) and basically pre-compiling the bycode into machine language the moment an app is installed, making them in essence native apps.



This will eliminate the need for a virtual machine or interpreting code, which will cut startup times greatly. Currently ART is in experimental stages but you can still enable it on your KitKat Nexus device by going to Settings > Developer options > Select runtime. Keep in mind that this will require a reboot and will take about 10 minutes to boot all apps up again. Also don't try this on other AOSP builds right now as it makes the OS crash and become unusable.

Initial observations show that execution time on most apps has been cut in half. And once Google gets around to making ART official, the runtime process would be market ready and much faster.

The compromises with this method of running apps is that each app would take a longer time to install, which isn't ideal if you're coming from a backup and are waiting for loads of apps to install. Also the app would consume more storage because the bycode is being fully compiled - around 10% to 20% more.

Still if ART proves ready for prime time it would promise better app loading times, increased battery life and superior multitasking. For a more detailed explanation visit the source link.

Source


Related

Reader comments

  • Android 4.3 Lover
  • 07 Dec 2014
  • S0D

I was expecting to see a difference between the 4.3 an 4.4... I am so disappointed... I need more ram and all my status bar is white... I can't very mad... I have to use eyeglasses now in order to understand witch is icon is what... So ugly... I real...

  • Arun
  • 02 Dec 2013
  • Y}J

me too, I guess, but not sure, they have not enabled it yet for tablets.

  • Anonymous
  • 02 Dec 2013
  • P5J

i just bought a nexus 10, and updated to 4.4...But under the developer option, i cannot see the Select Runtime option? Want to tryout ART =\

Popular articles

More

Popular devices

Electric Vehicles

More