4 ms·
> I am wondering why mobile apps too haven't entirely been replaced by Web apps Simple equation. Efficiency of a mobile device is directly proportional to the
by lewisjoe 5y ago
> I am wondering why mobile apps too haven't entirely been replaced by Web apps
Simple equation.
Efficiency of a mobile device is directly proportional to the efficiency of the runtime the apps are running on. For example Objective-C / swift has a GC-less memory model which just means we get to do more with less memory. This is how iPhone typically ship with lesser RAM than Android phones, yet do everything that Android phones are capable of surprisingly well.
Desktops/Laptops have no need to worry about extreme memory efficiency. They are always/usually connected to a power outlet. But mobile platforms on the other hand need extreme memory efficiency to get by with battery power.
If you do the math, the abstractions that the web provides comes with a huge cost. A virtual rendering engine, a programming runtime that is notorious for bad memory management and all this on top of a huge VM called the browser. It doesn't scale.
- EvilEy3 5y ago> For example Objective-C / swift has a GC-less memory model which just means we get to do more with less memory. This is how iPhone typically ship with lesser RAM than Android phones, yet do everything that Android phones are capable of surprisingly well. You forgot CPU that's light-years ahead of anything that Qualcomm or Samsung have. But, please, keep thinking that it is about Swift/Objective-C, lol.
- jamil7 5y agoThe parent's point still stands. Memory usage is lower without the overhead of the JVM (I think that's the point they were making).
- kasabali 5y ago> You forgot CPU that's light-years ahead of anything that Qualcomm or Samsung have That's a relatively recent development. iOS's lower memory usage compared to Android, however, has been forever.