Quote:
Originally Posted by FerrariEnzo
Are android OS's even optimized for a single device like the iOS are? I mean there are tons android devices (all different hardware) running the same build (stock) of android while iOS.. now being 2 iphones, is more optimized to take full advantage of...
|
Short answer, no.
Apple controls all three aspects of their OS/software. They design the processor, the compiler and the code that runs on it. Android OEMs can control the code (within limits) and they have some flexibility with the compiler (like developer tools from the companies that make processors). But that's about it.
And although they can modify the code, if you're a part of the OHA (virtually all the top Android companies) you have restrictions. The main one being you're not allowed to make any changes that would affect or break compatibility with apps in Google Play. So they have to play things safe, which is why their modifications are almost exclusively things like Touchwiz or Sense or add-on features and not low-level tweaking that could improve performance.
Now with Google Play Services being able to do security and low-level updates to your Android device regardless what version you're on, there's no incentive to optimize your code. If you optimize your code, then if there's a flaw found in the OS then you (the OEM) will have to patch it and issue an update. This goes against the idea of Google Play Services which is to reduce fragmentation and allow Google to control patches and updates instead of having to wait for the OEMs.
And then we have Java.....