These concepts might still be unfamiliar to many, so let's dive into them with Taimienphi.
ART and Dalvik are the names of two essential virtual machines for the operation of the Android operating system. In other words, ART and Dalvik are two popular compilers used to write programs on Android mobile devices. However, an Android device cannot run both compilers simultaneously.
Since the inception of Android, it has been using the Dalvik virtual machine. However, the release of Android 4.4 KitKat marked a new trend that could change the Android platform: users can now choose between the two compilers, the aging Dalvik or the new ART.
And in the upcoming Android 5.0 version, Google seems to be planning a major change: making ART the default virtual machine for Android. This information has been confirmed in a recent update on the popular AOSP website with the title 'Dalvik is dead!'.
Why the need for change?
The Java programming language is Oracle's proprietary technology. Earlier this month, Oracle won a lawsuit related to allegations of Android's unauthorized use of its copyright, as the majority of the code in Dalvik is Java. In other words, Android's long-standing open-source code is under threat due to copyright issues.
Many opinions suggest that Oracle's accusation is baseless, and the company is trying to profit from something not genuinely theirs. However, all will not be an issue if the upcoming Android 5.0 version utilizes the entirely new compiler ART. Will users be affected?
ART and Dalvik are two entirely different virtual machines with their own advantages, disadvantages, and unique features.
First appearing in Android 4.4 KitKat, ART is still in its initial development stage and has already shown significant potential. However, the observed results are too few to draw conclusions.
In the Android 5.0 version, Google is genuinely determined for a significant leap, meaning users will experience:
- Better responsiveness
- Superior efficiency in pin usage
- Clearly improved performance
The only obstacle is that many Android apps may not be compatible with the new ART compiler.
Stay tuned for the latest and more detailed information at the Google I/O developer conference happening in a few days.
https://Mytour.vn/tim-hieu-ve-may-ao-art-va-dalvik-879n.aspx
So after this article, you've somewhat understood the basics of ART and Dalvik. To delve even deeper into these two virtual machines, Taimienphi looks forward to meeting you in an upcoming article.