Feeds

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

Code changes proclaim death of OS's original code runtime

Security and trust: The backbone of doing business over the internet

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

Security and trust: The backbone of doing business over the internet

More from The Register

next story
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Mathematica hits the Web
Wolfram embraces the cloud, promies private cloud cut of its number-cruncher
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
Mozilla shutters Labs, tells nobody it's been dead for five months
Staffer's blog reveals all as projects languish on GitHub
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
iOS 8 Healthkit gets a bug SO Apple KILLS it. That's real healthcare!
Not fit for purpose on day of launch, says Cupertino
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Protecting users from Firesheep and other Sidejacking attacks with SSL
Discussing the vulnerabilities inherent in Wi-Fi networks, and how using TLS/SSL for your entire site will assure security.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.