3 ms·
> There's also iOS and Android. Android's gotten better, but it's always needed more energy and faster hardware to approach iOS performance and UI responsivenes
by dwaite 5y ago
> There's also iOS and Android. Android's gotten better, but it's always needed more energy and faster hardware to approach iOS performance and UI responsiveness. The software's simply better, by that metric, anyway.
A significant portion of this is just requiring more efficient developer tools.
- Generational GC vs ARC memory management accounts for a large (50-100%) increase in memory usage
- JIT vs compiled code performance impacts
- Swift value types vs Java (and Objc) class types removes further memory management pressure as well as allowing for significant memory savings.
- The underlying OS model Apple has restricts the need to run code from multiple applications at one time to a small set of extension points. Android does allow for background processing (although you can't guarantee consistent/persistent processes).
Of course you give all this up when you are just wrapping your javascript + web content up in an electron or similar framework. In that case, you are running at a fraction of the efficiency of either platform.