SnoozyPancake
SnoozyPancake

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?

13mo ago
Talking product sense with Ridhi
9 min AI interview5 questions
Round 1 by Grapevine
FloatingPancake
FloatingPancake

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:-

  1. Faster processor:- Although Qualcomm has come close but Apple processors are still very much ahead.
  2. 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.
  3. 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.
  4. iOS development is done in Swift and Objective-C which by design is faster than Java and Kotlin, and requires less memory to run.
PrancingBanana
PrancingBanana
Student13mo

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

CosmicPanda
CosmicPanda

Try stock android on google pixel, you will never go back to ios

SnoozyPancake
SnoozyPancake

I'm actually thinking about using the upcoming pixel phone before iPhone.

FluffyPickle
FluffyPickle
Target13mo

Heads up pixels heat while using mobile data or even when using multiple things simultaneously.

DancingDonut
DancingDonut

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

SnoozyPancake
SnoozyPancake

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

FuzzyMochi
FuzzyMochi
  1. Android OS has more layers as compared to iOS.
  2. 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.

ZippyRaccoon
ZippyRaccoon

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.

BouncyBoba
BouncyBoba
Student13mo

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

QuirkyPretzel
QuirkyPretzel

In simple terms:

  1. Architectural Difference between iOS and Android

  2. 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

Discover more
Curated from across
Designers
by PeppyMarshmallowAccenture

How can Apple mess up this bad with iOS 18?

I just updated to iOS 18 and the quality has really gone down. The user experience is not what it used to be. Before this, everything was smooth and intuitive, right? But now, it feels like they messed up something big time. Anyone else ...

Post image
Personal Finance
by GigglyPotatoSlice

Should I buy an Iphone from first salary

My current phone is almost 4 years old so I am in dire need of a new one, most of my friends/colleagues are buying Iphone and recommending me the same(since it has best camera + brand value) but for me spending most of my salary on a pho...

Top comment
user

If you have to ask you know the answer. Financial discipline is a by product of self discipline. This one choice coul...

Bangalore
by PerkyPickleProduct Manager

I haven't saved a single penny in last 3 yrs

I am a middle class boy. Working in Banglore. I am earning 1.5L every month from last 3 yrs. But still I don't have a penny saved. I have to give all my money to my parents. They have huge debts and to avoid extra expenses i am working f...

Top comment
user

Social skills are irrelevant, can be acquired at any age. In most of the cases, what you call social skills is actual...