Hi,

Android launches ART in KitKat, which uses AOT instead of JIT, with some
compromises.
What Are The Compromises?

There are a couple of drawbacks to using AOT compilation, but they are
negligible compared to the advantages. To begin with, fully compiled
machine code will usually consume more storage space than that of bytecode.
This is because each symbol in bytecode is representative of several
instructions in machine code. Of course, the increase in size isn't going
to be particularly significant, not usually more than 10%-20% larger. That
might sound like a lot when APKs can get pretty large, but the executable
code only makes up a fraction of the size in most apps. For example, the
latest Google+ APK with the new video editing features is 28.3 MB, but the
code is only 6.9 MB. The other likely notable drawback will come in the
form of a longer install time for apps - the side effect of performing the
AOT compilation. How much longer? Well, it depends on the app; small
utilities probably won't even be noticed, but the more complex apps like
Facebook and Google+ are going to keep you waiting. A few apps at a time
probably won't bother you, but converting more than 100 apps when you first
switch to ART is a serious test of patience. This isn't entirely bad, as it
allows the AOT compiler to work a little harder to find even more
optimizations than the JIT compiler ever had the opportunity to look for.
All in all, these are sacrifices I'm perfectly happy to make if it will
bring an otherwise more fluid experience *and* increased battery life.



   - http://www.androidauthority.com/art-vs-dalvik-315874/
   -
   
http://www.extremetech.com/computing/170677-android-art-google-finally-moves-to-replace-dalvik-to-boost-performance-and-battery-life
   -
   
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/



List of broken Apps on ART

   - http://www.reddit.com/r/Android/comments/1qbko3/art_broken_apps/
   - http://androidruntime.com/list



Thanks,
-- 
Regards,
*Naseem Rafique | Sr. Software Engineer*
*NorthBay Solutions | 410-G4 Johar Town, LahoreCell: 0331-4153428*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to