T****n 发帖数: 6187 | 1 据说比dalvik快一倍。所以android即便老机型里也能运行得更流畅。
有人在4.4里试过么?
http://www.xda-developers.com/android/new-runtime-compiler-in-a
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. And
now, we may just be seeing the very first fruits from this purchase.
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. | J*****a 发帖数: 4262 | | T****n 发帖数: 6187 | 3 不清楚。我也是刚看到这个消息。不过既然放到了4.4里,兼用性应该问题不大吧
【在 J*****a 的大作中提到】 : art兼容所有程序吗?
|
|