Feeds

Android to drop Dalvik VM for high-performance ART in next version

Code changes proclaim death of OS's original code runtime

Choosing a cloud hosting partner with confidence

The next version of Google's Android smartphone OS may ship with a new code execution engine that improves performance and battery life, if a new report is to be believed.

The current engine, Dalvik, is getting long in the tooth, and developers have long grumbled that it doesn't run their code as efficiently as it could.

Google's answer is the Android Runtime, or ART for short, a drop-in replacement for Dalvik that brings performance-enhancing features such as ahead-of-time (AOT) compilation and improved garbage collection to the Android platform.

The online ad-slinger snuck ART into Android 4.4 "KitKat" as an experimental feature, but it could only be enabled from an Android device's hidden developer options.

In fact, the ART developer homepage explains that "Dalvik must remain the default runtime or you risk breaking your Android implementations and third-party applications," and adds that "some techniques that work on Dalvik do not work on ART."

Screenshot of an Android "KitKat" phone with the option to use ART

ART has been a hidden option on KitKat devices

The Android developers must have been giving ART some serious attention, however, because it looks like the next version of the OS could drop Dalvik altogether.

The change was first spotted by the Android hacker community at XDA Developers, who noticed two curious code commits in the Android Open Source Project. The first removes Dalvik from the main branch of the Android source code, and the second switches the default runtime to ART. Several other changes have since been added that also remove references to Dalvik.

Not that this is any indication that Android devices will start using ART by default any time soon. The code changes were made to the Android Open Source Project, but Google uses its own, internal source code trees to build shipping versions of Android.

Don't expect the switch to happen a future version of KitKat, either, which is currently on version 4.4.3. A change like this is likely too big for a minor point release. And there's little reason to believe that Google plans to launch a major new version of the OS in the near future, when only 13.6 per cent of Android devices are running KitKat now.

But given a change this definitive – the developers even went as far as to post a commit message reading, "Dalvik is dead, long live Dalvik!" – it wouldn't be too much to suspect that ART might have its official debut in Android 5.0 ... whenever it arrives. ®

Intelligent flash storage arrays

More from The Register

next story
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Sign off my IT project or I’ll PHONE your MUM
Honestly, it’s a piece of piss
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
Chrome 38's new HTML tag support makes fatties FIT and SKINNIER
First browser to protect networks' bandwith using official spec
Admins! Never mind POODLE, there're NEW OpenSSL bugs to splat
Four new patches for open-source crypto libraries
Torvalds CONFESSES: 'I'm pretty good at alienating devs'
Admits to 'a metric ****load' of mistakes during work with Linux collaborators
Ploppr: The #VultureTRENDING App of the Now
This organic crowd sourced viro- social fertiliser just got REAL
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.