Re:A former Uber engineer's disaster story
by lern_too_spel on Thursday December 10, 2020 @11:51AM
(#25375603)
The Android apk is 56.9 MB for my device, while the iOS app is 331.3 MB. What accounts for the 6x difference?
[ Parent
| on HN ]
Re:A former Uber engineer's disaster story
by _old_dude_ on Thursday December 10, 2020 @05:37PM
(#25379742)
APK is now more a delivery package format than a real executable format now.
On recent Android devices, the APK wil be recompiled to machine code on the device after a small number of runs (to gather code statistics).
So you are comparing an apple and a robot.
Re:A former Uber engineer's disaster story
by lern_too_spel on Friday December 11, 2020 @02:52AM
(#25383415)
IPA is also a delivery package format. The big difference I am aware of is that IPA encrypts binaries, which will make them less compressible.
Re:A former Uber engineer's disaster story
by saagarjha on Thursday December 10, 2020 @12:49PM
(#25376296)
I assume that the constraints placed on the Android team are much higher, as that market seems like it would be much more sensitive of app sizes.
Re:A former Uber engineer's disaster story
by lern_too_spel on Thursday December 10, 2020 @01:39PM
(#25376837)
That is true, but what specifically is the iOS app getting in that extra quarter gigabyte? What couldn't they throw away to get under 200 MB at all?
Re:A former Uber engineer's disaster story
by saagarjha on Thursday December 10, 2020 @02:06PM
(#25377145)
I honestly have not been provided with a good answer beyond "we just didn't spent resources to do it".
Re:A former Uber engineer's disaster story
by bsimpson on Thursday December 10, 2020 @12:05PM
(#25375768)
Courage.
Re:A former Uber engineer's disaster story
by thu2111 on Friday December 11, 2020 @07:26AM
(#25384983)
Bytecode is very compact compared to native machine code. Android converts on the fly on the device. That's at least a part of it.
Re:A former Uber engineer's disaster story
by pandanomic on Thursday December 10, 2020 @01:19PM
(#25376628)
Swift produces far larger binaries