6 ms·
A release build of an Hello World app is around 7 MB.
by tomatsu 9y ago
A release build of an Hello World app is around 7 MB.
- thrownaway954 9y agoso... is that good or bad?
- edf13 9y agoBad - on the very bad side of things
- sever 9y agoWhy is that a problem? Phones have gigs of space.
- pritambaral 9y agoNot all phones. And not that many gigs. And not all mobile networks have so much data bandwidth. At least not where I am.
- sever 9y agoAh, I see. Well, FWIW it starts at 7 MB, and then I presume grows at the same rate as a native app as it gets more complicated.
- tomatsu 9y agoYea, it's not a problem. Even more so if you can install apps onto SD cards. There is lots of room on my 32 GB card. I could literally install thousands of simple Flutter apps.
- edf13 9y agoIt's not just about the storage space (That in itself is a problem though...). The download can also be an issue, especially when downloading over cell... more so in a rural or other poor signal area.
- tomatsu 9y agoIt's a few KB with Cordova/Phonegap. However, startup is bad, performance is bad, and testing is terrible. Also, making UIs with HTML/CSS/JS really isn't that nice. The workflow with Flutter is way more streamlined.
- tomatsu 9y agoIt's comparatively compact for the kind of functionality the runtime provides. You also get instantaneous startup thanks to AOT. Performance is great, too. My phone's calculator app is about 14 MB and the gallery is 10 MB in size. Flutter versions would have been probably a tad smaller than these native Android apps. Well, just check the file sizes of the apps which you have installed on your phone.
- halfjoking 9y agoCompared to Crosswalk to get standard features across devices this is a walk in the park... Instead of an actual Crosswalk with trucks of data trying to kill you.
- nevi-me 9y agoFor me, it's potentially very bad. Though I personally have an unmetered 100Mbps connection, my target market(s) for what I develop, are people who are very data sensitive. A 7MB Hello World file might mean that my app with the world, universe and everything I need, might be bigger. It'd be great if y = m(x) + 7MB with a gentle gradient, but I'm already starting off bad. I tried creating a hello world with most of the dependencies that I think I would need, but most couldn't load, so I don't know what size a specimen app could be. Either way, a 15MB download for someone in my radar would mean them not installing the app. One also shouldn't underestimate how many phones in developing countries barely have enough space left. Google Play seems to need minimum 500MB for me to install/update apps on my high-end phone, so it might be dire for lower-end devices.