
Why iOS works faster than android?
I just want to understand in simple terms, how come an iPhone with very little RAM and full storage works smoother than an Android with tons of RAM and storage.
Is it something which android can't do?
One interview, 1000+ job opportunities
Take a 10-min AI interview to qualify for numerous real jobs auto-matched to your profile 🔑
iOS developer here, Apple has put in lot of restrictions which although restricts developers but also makes sure developers don’t screw up. Here are the reasons:-
- Faster processor:- Although Qualcomm has come close but Apple processors are still very much ahead.
- No background processes: Apart from some exceptions like playing music. iOS apps are fully suspended in background i.e they are not using any processing power. This has a downside that third party app can’t download stuff in background.
- Framework restrictions in newer devices:- Apple watch and Apple Vision Pro apps can only be made in SwiftUI in which all the views are in struct rather than classes. Furthermore in SwiftUI, Apple has taken the freedom from developer to manage threads to itself. This is one example where Apple has prevented bad developers to mess up. Some developers think multi-threading always lead to faster performance.
- iOS development is done in Swift and Objective-C which by design is faster than Java and Kotlin, and requires less memory to run.

Hi, is it worth it for me to learn IOS, when I was in college I worked majorly in the MERN stack, during my internship I worked on Spring boot, and now in my new company i am working on Flutter, Request you to guide me


Simple answer: The hardware and software are both designed by Apple leading to better coordination between the two. Android is unable to do this.

What about the companies that make their own processor for Android?

- Android OS has more layers as compared to iOS.
- iOS can store app file as a machine code while Android store apk as byte code.
As Android ecosystem supports various OEMs, android app is made so that it can run on various types of processor chips. To make it possible android stores apk file in java byte code, and coverts into machine code at runtime. Also android has HAL( Hardware abstraction layer) to abstract android OS irrespective of underlying processor. All this needs more RAM and more time as compared to iOS.

I'll explain in a very dumb sense: Android is open source, and every phone brand creates their own OS wrapper over Android. So all the apps need to be compiled into something every variant of Android OS wrapper can run, which adds a lot of overhead and extra layers. iOS is just iOS, and apps don't need the extra overhead or steps.

But does this matter, does an average user notice some difference between sd 8 gen 3 vs a14 in real life? I don't think so
In simple terms:
-
Architectural Difference between iOS and Android
-
Apple has made iOS eco-system very stringent resulting in Very less to No fragmentation in terms of Hardware (Manufacturers, etc) and Software (OS Customisation, RAM Management, App Stores, etc) compared to Android