Skip to main content

Posts

Showing posts with the label AOT

ART or Dalvik?

Google introduced ART - a Dalvik replacement in Android 4.4 and they promised that it will greatly enhance performance of Android Apps, make your device faster and your battery last longer.  An experimental version of ART is included with Android 4.4 and can be enabled in Settings > Developer Options > Select Runtime.   Most of the apps in the Play use the Dalvik VM (Virtual Machine) to compile and run it. This process utilizes a concept called just-in-time, or JIT. When you open an app Android pulls all the uncompiled data together, compiles it, and loads the app into memory. As long as the app is in memory, after the initial load time, it’s very speedy. But if you use any task killer apps to stop the application then opening the app again will start the whole process again. So it takes a lot of time. Android 4.4 KitKat includes a new runtime called “Android runtime”, ART.  ART works on a concept called Ahead-Of-Time (AOT) compilation. When you download ...