
In a race to finally mature Android into a less crazy, multi-personality OS Google has slipped a new runtime called ART in Android 4.4.
For a quick primer, all Android apps downloaded from the Play Store come written in a generic code called bytecode that's left half-complied. That's because Android runs on so many hardware and software platforms.
The ART complier is a new option that Android 4.4 users can switch on by going into Settings > Developer Options menu. ART, short for Android Runtime, compiles code Ahead-Of-Time when applications are first installed.
Up until now Android phones have used Dalvik and a Just-In-Time compiler to polish up their apps to work with devices just as they are launched.
It's a fundamental shift in the way applications work on Android phones that could help improve performance and battery life. Instead of having a compiler start up every time, eating up resources and battery life, ART converts apps the first and only time, leaving them stored as native applications for the phone's specific hardware.
What's the catch?
While there are plusses to ART, the catch is that every app will take slightly more space. ART precompiles every app you install or already have on your device into a larger native application. Using the new runtime also causes longer install times for all apps, which can be especially annoying when converting the entire apps library.
The trade offs, however, could be well worth the few megabytes off of the phone's storage, especially if it means games are less prone to stutter and making all apps generally more responsive.
As the option to turn on ART is still hidden away in the developer settings, it's pretty obvious this new feature isn't ready for prime time just yet. Google also hasn't given an official timeline for when ART will fully replace Dalvik, if it ever does.






No comments:
Post a Comment