zlacker

[parent] [thread] 13 comments
1. andrea+(OP)[view] [source] 2017-07-27 12:00:32
Watch the State of the Web talk from Google IO 2017. Certain native apps (Twitter, OLA) are 70-100MB in size when downloaded from the app stores. Their progressive web app version are 0.2-0.6MB. Extremely important in countries with very limited and/or expensive mobile data.
replies(4): >>jvzr+v >>akmari+t3 >>maxsil+M8 >>gpawl+Va2
2. jvzr+v[view] [source] 2017-07-27 12:03:54
>>andrea+(OP)
I'd say that's another issue. Duplicate frameworks in Facebook.app, monolithic tracking frameworks, etc. So much useless stuff prying on the user's privacy.

I remember Twitter.app had code to get the currently installed apps, to "better target ads." It's user hostile and we are paying with the multi gigabytes of data.

replies(1): >>euyyn+Zq
3. akmari+t3[view] [source] 2017-07-27 12:31:46
>>andrea+(OP)
https://sensortower.com/blog/ios-app-size-growth

According to this, Facebook was 32 MBs 4 years ago. It's similar with Twitter.

It's their fault that they keep adding stuff to track you. And Facebook contains just about every library that has ever existed now.

replies(1): >>pavlak+S4
◧◩
4. pavlak+S4[view] [source] [discussion] 2017-07-27 12:43:34
>>akmari+t3
But now Facebook mobile app is a different tech. It's ReactNative, not Obj-C, right?
replies(2): >>jaxond+Fg >>LeoNat+1X1
5. maxsil+M8[view] [source] 2017-07-27 13:21:42
>>andrea+(OP)
That doesn't have anything to do with native vs web though.

Twitter's native app is heavier than their web app because Twitter has historically filled the native app with junk (like a fullscreen video just for the login screen, "moments", "highlights", hijacking browser URLs, a bunch of ads and ad tracking, etc). Facebook does the same, to an almost silly degree - https://news.ycombinator.com/item?id=8162342

The Twitter client could easily be ~3MB on Android, for instance, if they just stripped the garbage out. And similarly, if you take a web app, and embed all that same junk into it, it will suddenly be a heavy download too.

replies(1): >>euyyn+er
◧◩◪
6. jaxond+Fg[view] [source] [discussion] 2017-07-27 14:15:15
>>pavlak+S4
React Native under the hood uses Obj-C to bridge to native Cocoa frameworks. For example when you uses a <View> tag in JavaScript, it ends up calling iOS UIView.
replies(1): >>pavlak+jl
◧◩◪◨
7. pavlak+jl[view] [source] [discussion] 2017-07-27 14:42:44
>>jaxond+Fg
Still, it's not the very same tech. Especially in this discussion, where we are talking about apps performance and languages, which need to get under the hood instead of talking directly with the engine, are presented as "worse".
◧◩
8. euyyn+Zq[view] [source] [discussion] 2017-07-27 15:18:56
>>jvzr+v
The argument can't go only one way, though. If a web app doesn't get the UI in tune with the OS' look and feel, "the developer should be bothered to create a native app". But if a native app is a massive bloat, "that's another issue".
◧◩
9. euyyn+er[view] [source] [discussion] 2017-07-27 15:20:27
>>maxsil+M8
In theory you could make a web app look like a native iOS app too, yet in practice developers don't either.
replies(1): >>s73ver+Id1
◧◩◪
10. s73ver+Id1[view] [source] [discussion] 2017-07-27 20:22:49
>>euyyn+er
In practice, they tend to make it look like iOS, but then they ship the same thing for Android, meaning the Android app looks like an iOS app.
◧◩◪
11. LeoNat+1X1[view] [source] [discussion] 2017-07-28 04:15:49
>>pavlak+S4
Only a tiny fraction of the Facebook app is actually RN. Messenger uses none of it for performance reasons.
replies(1): >>pavlak+ma2
◧◩◪◨
12. pavlak+ma2[view] [source] [discussion] 2017-07-28 08:01:13
>>LeoNat+1X1
Huh? Isn't Facebook advertising their main app as no.1 use case of ReactNative?
replies(1): >>LeoNat+Ac2
13. gpawl+Va2[view] [source] 2017-07-28 08:09:57
>>andrea+(OP)
0.6MB to launch the app, which downloads 100MB more resources as soon as it starts up.
◧◩◪◨⬒
14. LeoNat+Ac2[view] [source] [discussion] 2017-07-28 08:46:06
>>pavlak+ma2
Advertising is one thing, reality is different. The main, performant views are native. Some of the esoteric stuff is RN.
[go to top]