In this article, we will discuss on iPhone and Android.
We have often heard people discussing about the difference between iPhone and Android, which is better? etc.
Is it true that iPhone 2GB RAM is equal to Android 4GB RAM?? ---- well, let's discuss it in details.
We have seen that an android phone with 2GB RAM sometimes lags (i.e. hangs) but iPhone 2GB RAM mostly never gets hanged. Now let's see the reason behind this--
In Android when we use an app it consumes RAM and storage. When we stop using it, that consumed RAM gets freed automatically. This mechanism in Android is called 'Garbage Collection' as Android is based on JAVA. So this mechanism manages the RAM automatically but the problem is that 'Garbage Collector' itself consumes a lot of resources(RAM). Now in an android phone with limited RAM(<=2GB) this thing cause lag(hang) sometimes.
Now if we talk about the iPhone, here it uses ARC(Automatic Reference Counting) which is C-object based. Here whenever any application is not in use this mechanism release the consumed RAM by that app and it doesn't use any RAM by itself, unlike android. That is why iPhones didn't get hanged easily.
In most cases, we found that the menu in Android gets hanged while we swipe right and left but in iPhone, this doesn't happen easily. The reason behind this is - In Android everything, that is UI(User interface) and all applications, are maintained by a thread(i.e. process) and they share the same memory. Depending on the priority it is decided which thing will get how much memory. Here the priority of UI(User interface) is set to normal. So sometimes other applications take the memory of the UI and it causes the menu to lag. But in iPhone the concept is a little bit different. Here for the UI there is a separate process and for applications, there are other processes running. And the priority of the UI process is set to HIGH because whatever we do on our phone but first we have to open the menu. That's the reason why in iPhone menu doesn't lag.
There is another difference between these two:- Google make different versions of Android but this is just the software part but the hardware varies a lot. For example, Android Oreo can be installed in Samsung phone or Xiaomi or in Intex now these phone's hardware's were not manufactured by Google so sometimes different compatibility issues occur and this lead to different problems. While in iPhone, Apple controls everything. They create the Operating system(software) as well as either they manufacture the hardware parts or they tell their partners to create those for Apple. This makes their smartphones better compatible.
Thus I hope you got the idea about these two smartphones. If you have any doubts then let me know in the comment section below. THANK YOU!
Must Share This With All Your Friends On Whatsapp And Other Social Media.
Click here to share on Whatsapp
No comments:
Post a Comment