Hacker News new | ask | show | jobs
by appybois 2220 days ago
Do you know how much using python and the framework adds to the binary size?
2 comments

I am not that worried about the binary size, but please see this discussion regarding loading times earlier today:

https://news.ycombinator.com/item?id=23338227

The answer to that post is mine, and i confirm that there’s some delay on start but on a moto g 2014 that i have it is ~3 seconds which is not much. By comparison, Outlook takes more than 10 seconds to start on my iphone 5s..
That’s pretty crazy re outlook. Takes about half a second on my 11. Clearly mine is newer, but over an order of magnitude is a lot.
Tested right now: 8 seconds of a white screen, then the blue logo appears for 2 seconds, and finally, at second 10, mails start to appear..

That is why I always test my apps on older hardware.. That, and because i only have old devices.. :)

I noticed that if I quit the app via the usual mechanism, it takes less than a second to load. However if I fully power cycle the device it’s closer to 5 seconds.
Libpython.a (and the others) have ~50MB and the standard library zip is ~4MB. But note that libpython and the others are fat libraries which includes X86 code that is only relevant for the iOS emulator and could be stripped eventually on release.