Live data from Hacker News

Why is the Gmail app 700 MB?

akr.am

131–140 of 403 posts

Re: Why is the Gmail app 700 MB?

#131
post #98

People need to reread this classic piece from 2001 every so often: https://www.joelonsoftware.com/2001/03/23/strategy-letter-iv... As a regular user, you are probably using 10% of all features available.

Gmail barely has any features, which haven't changed since it's inception. Most of the code is in the cloud.

Re: Why is the Gmail app 700 MB?

#133

Earlier quoted context omitted.

The article is the question though, the question deserved to be asked. And Gmail deserve to be shamed for shipping almost a gigabyte of stuff for a mailbox. Wouldn't be surprised if they accidentally/intentionally built the whole youtube client in there.

It is also a conferencing app. That might explain some of the size.

Yeah, meet and chat (where each has their own bloat) are now integrated into the mail app as well. This contributes a lot.

Re: Why is the Gmail app 700 MB?

#134

Earlier quoted context omitted.

Is it plausible that the libraries are so big? I mean, for example, NodeJS is in the order of 100mb and contains the whole v8 engine. The Gmail app size has to be assets, right?

Static linking will do that. Imagine you have 400mb of binary objects your app depends on. Libraries your company uses for app analytics, SSO, 2FA, Corporate service bus api, etc. You statically link all those for your 50mb Swift UI app and bam, you’re in the 700mb range.

The use of Go will definitely do that, as it prefers to statically link everything.

https://go.dev/wiki/Mobile

If we had an entire POSIX OS built with Go, then we would be back to statically-linked UNIX prior to BSD.

https://www.freecodecamp.org/news/golang-statically-and-dyna...

Re: Why is the Gmail app 700 MB?

#136
post #50

Earlier quoted context omitted.

The article is the question though, the question deserved to be asked. And Gmail deserve to be shamed for shipping almost a gigabyte of stuff for a mailbox. Wouldn't be surprised if they accidentally/intentionally built the whole youtube client in there.

I think this might be closer to the truth than you might think. Due to the absence of (cross-app) shared libraries on at least iOS, developers often end up building big company-internal libraries that then have to be shipped with all of their apps. Tree shaking isn’t perfect, and the result are these > 0.5 GB monstrosities.

It's one thing to have common internal libraries and another thing to have the compile process blanket include everything that's in it.

Re: Why is the Gmail app 700 MB?

#137

Earlier quoted context omitted.

There's a few other apps that are ridiculously big. Like the DJI Mimo app. It's an app I need for my DJI Mic, to change 4 settings on it. It needs 800MB for that which is absolutely ridiculous. Also I need to sign up for an account to use it even though the Mic works completely locally and it just changes the settings over USB. It's absolutely fucking ridiculous to have an 800MB app for this and the reason is just ma…

Doesn't the Mimo app work for many devices not just your mic? While your mic might not need a lot of the code, someone using one of their other devices might not need your mic's code either. I can totally see why DJI would want a single app to control any of the DJI branded devices rather than dealing with multiple app store approvals. It would also be confusing for the end user as in "Which device am I using so whic…

Feels like we are able to build software solutions for much more challenging problems than "only download the part that the user needs instead of everything and the kitchen sink". The explanation you provided doesn't make me feel even a tiny bit better about the problem. It just details how it came to exist.

Re: Why is the Gmail app 700 MB?

#138
post #134

Earlier quoted context omitted.

Static linking will do that. Imagine you have 400mb of binary objects your app depends on. Libraries your company uses for app analytics, SSO, 2FA, Corporate service bus api, etc. You statically link all those for your 50mb Swift UI app and bam, you’re in the 700mb range.

The use of Go will definitely do that, as it prefers to statically link everything. https://go.dev/wiki/Mobile If we had an entire POSIX OS built with Go, then we would be back to statically-linked UNIX prior to BSD. https://www.freecodecamp.org/news/golang-statically-and-dyna...

can you build a Swift UI in go?

Re: Why is the Gmail app 700 MB?

#139

The article doesn't answer the question. The content can be summarised as "The Gmail app is 700 MB!"

It's not just Gmail. Most of the popular apps on iOS are literally 10x bigger than their Android versions. It's hard to find a popular iOS app that's smaller than an Electron app.

Re: Why is the Gmail app 700 MB?

#140
This is why I use installable PWAs wherever possible. On my Android phone right now, the Outlook PWA uses 281kB. You still get notifications, but I haven't measured if data usage is higher.
Post reply on HN