Best [User Blog] Where Is All This Lag Coming From? -Androidme2018

[Androidme2018]- Using my Jellybean powered GalaxyS2 is a pleasure. Project Butter shines and everything’s real smooth. Feeling the love, I go ahead and open Facebook and then - ugh. Yep, just click on the baby-blue 'F' icon and feel the pain. This thing is so slow. And while waiting I can only wonder, what the hell is going on here? Why are some apps fast and others so slow.
Using my Jellybean powered GalaxyS2 is a pleasure. Project Butter shines and everything’s real smooth. Feeling the love, I go ahead and open Facebook and then - ugh. Yep, just click on the baby-blue 'F' icon and feel the pain. This thing is so slow. And while waiting I can only wonder, what the hell is going on here? Why are some apps fast and others so slow.
Any of you who’ve had an iPhone in your hand have noticed that iOS, though extremely boring, is fluid and buttery smooth. Why is this? Don't worry there is a clear explanation! I mean, the current Android hardware is amazing, new phones have 2 gigs of memory and super-fast processers! Why are most Apple products so damn smooth and our Android devices often laggy?
The answer lies in the UX. What's that you ask? Let’s have a quick look.

Most apps for iOS are developed natively with C or C++. This is commonly known as the, Native Development Kit or NDK. When developing for Android you can also go ‘native’. But a nice cross platform option is available too- Dalvik. Similar to JVM, Dalvik uses JIT compilation (Just In Time). This adds a process layer to the app. And adding another layer, be it compilation or whatever, equals a reduction in speed or a possible wait time. However miniscule, maybe only milliseconds if this happens a lot you may have to wait or feel lag.


Basically if an app is programmed in native mode it should run faster. There is a lot of hot contention about the speed difference from C++, Java and Dalvik. We mustn’t forget that there are dependencies like OpenGl for games. C++ seems to run super smooth on OpenGl and not so smooth elsewhere. But we have seen that most apps can and should be tuned. Apple has clear development kits as do Google. Developers just need to follow them. So if Facebook would finally tune or re-write their app to work best natively it would be a hell of a lot smoother. We cannot forget that we have a lot of different hardware standards and Apple has a hardware eco system that is tightly defined. That is why devs are using the cross platform options. They’ll work great on most devices. If you look at apps that are made for Tegra, they really shine. Well you get what I mean. I believe this is why Samsung is throwing amazing hardware around, to compensate for Dalvik and or cross platform developing. They are ensuring a solid performance across the board via powerful hardware.
Where are we heading? I am very happy with the diversity of hardware. I love the fact that I can get so many processor options, from Ti, Exynos, to Qualcomm. This is just good for the consumer. I also think hardware over-compensation will continue till Google comes up with a final solution. And guess what, it’s working. Android phones are out selling all other contenders.
I would still like to request that the big players go native. Come on Facebook, clean up your act.

Thank You Very Much - Androidme2018

Subscribe to receive free email updates:

0 Response to "Best [User Blog] Where Is All This Lag Coming From? -Androidme2018"

Post a Comment