Will Verduzco · Oct 31, 2013 at 05:30 pm

BREAKING: New Runtime Compiler in Android 4.4 to Possibly Bring Better Performance in Future Releases

Android 4.4 KitKat ushers in several new and exciting features, many of which we talked about last night. One new and unexpected feature addition, however, appears to be a different real time compiler engine. In addition to Dalvik, references to ART have appeared under Android’s Developer Options menu. Not too long ago, Google purchased the French company Flexycore. While Flexycore has nothing to do with ART, the purchase and ART compiler show Google’s renewed focus on improving device performance.

As can be seen in the screenshot to your right, there is now a menu allowing you to choose between Dalvik and ART within Developer options. Switching from Dalvik to ART switches from the libdvm.so library to libart.so. And rather than the ODEX files read by the Dalvik VM, ART appears to use OAT files. Accordingly, Android 4.4 source also includes a dex2oat program to convert ODEX files into OAT files compatible with ART.

It is important to keep in mind that this is currently “hidden,” as it breaks the emulator. However, it has far reaching potential in that it can compile Android apps into more native code than what’s currently available through Android’s JIT.

Exciting times, folks. Looks like Android 4.4 will have plenty of new features that are just waiting to be uncovered.

Update: More information on ART can now be found on the Android Source Code Documentation Website.

[Many thanks to XDA Forum Member atomicrat2552 for the tip and to Developer Admin Pulser_G2 and Elite Recognized Developer Xplodwild for the additional research!]


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mario Tomás Serrafero · Apr 25, 2015 at 11:00 am · 1 comment

XDA Picks: Best Apps of the Week (Apr 17 – 24)

Apps are at the front and center of any smartphone experience, and with over a million apps on the Google Play Store and new apps being submitted to our forums every day, staying up to date on the latest apps and games can be a hassle. At XDA, we don’t discriminate apps - if it’s interesting, innovative, original or useful, we mention them. The XDA Portal Team loves apps too, and we usually share and discuss the latest app releases...

XDA NEWS
GermainZ · Apr 25, 2015 at 10:24 am · 6 comments

Glimpse Notifications: Easier Lockscreen Notifications

Lollipop brought a revamp to the lockscreen, taking away custom widgets but showing your notifications instead. If you're a fan of that, you might want an easier way to check your notifications as they come in, without losing your current lockscreen. Glimpse Notifications by XDA Senior Member xrad offers just that. You'd normally have to turn your screen on manually to see your notifications. Instead, Glimpse Notifications will do it for you when a notification comes in. That doesn't mean...

XDA NEWS
Emil Kako · Apr 24, 2015 at 03:11 pm · 4 comments

What Are the Best Looking Apps on Android?

As more developers are updating their apps with Material Design elements, we're starting to see a plethora of beautiful new apps on the Play Store. But which ones are the best? Let us know what you think the best looking apps on Android are and why.

DISCUSS
Share This