4 ms·
Make libart the default runtime
- X-Istence 13y agoWhat does this mean? What is libart?
- th0br0 13y agohttp://source.android.com/devices/tech/dalvik/art.html http://source.android.com/devices/tech/dalvik/art.html and http://www.androidpolice.com/2013/11/06/meet-art-part-1-the-new-super-fast-android-runtime-google-has-been-working-on-in-secret-for-over-2-years-debuts-in-kitkat/ http://www.androidpolice.com/2013/11/06/meet-art-part-1-the-...
- deleted 13y ago[deleted]
- Zigurd 13y agoIt's a new "runtime." I suppose they don't call it a VM because it's an ahead-of-time compiler. Dalvik is pretty efficient, so don't expect miracles, but ART is probably a good trade of space for speed.
- ahomescu1 13y agoI've been using ART ever since KitKat came out for the Nexus 4, and have had no problems with it. It seems pretty stable.
- pkulak 13y agoBut are there benefits?
- ahomescu1 13y agoI haven't measured, but it feels faster (some apps seem to load much faster, Wikipedia for example).
- sp332 13y agoApps should start faster, since they don't have to wait for the VM to identify hotspots and JIT them. This should also lead to reduced memory usage overall.
- twotwotwo 13y agoI'd guess ahead-of-time compilation means they can "afford" slower compilation times (i.e., a slow compile won't disrupt the flow of user in an app). And that would give them room to do more optimization. But that's totally a guess.
- jbuzbee 13y agoSame here, works fine. Disclaimer: My brother works on it at Google :-)
- gw 13y agoI hope this only applies to apps targeting the next API version. As of now, Clojure apps have issues with ART: https://groups.google.com/d/msg/clojure-android/J4cxkMRW2QA/GcLbdvoFep4J https://groups.google.com/d/msg/clojure-android/J4cxkMRW2QA/...
- deleted 13y ago[deleted]
- samspenc 13y agoWow this is fantastic. Does it mean the next version of Android will have ART enabled by default?