Live data from Hacker News

LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

engineering.fb.com

11–20 of 333 posts

Re: LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

#11

Here's a way in which they can save 100% of the size: Stop stubbornly barring mobile clients from using the web interface. This is why I don't use Facebook Messenger at all.

If I request the desktop site, I am able to access Messenger (iOS, Safari)

Yeah, I do that in firefox mobile as well.

Re: LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

#12
From https://engineering.fb.com/data-infrastructure/messenger/:

Rather than reinventing the wheel, we used the UI framework available on the device’s native OS to support a wider variety of application feature needs. This reduced not only size, by avoiding the need to cache/load large custom-built frameworks, but also complexity. The native frameworks don’t have to be translated into sub-frameworks. We also used quite a few of the OS libraries, including the JSON processing library, rather than building and storing our own libraries in the codebase.

This is awesome. It shows the benefits of building an app leveraging the OS, instead of fighting or abstracting it.

Re: LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

#13

Here's a way in which they can save 100% of the size: Stop stubbornly barring mobile clients from using the web interface. This is why I don't use Facebook Messenger at all.

But then they don't have permissions to slurp up all of your contacts, watch all of your SMS, and listen to your microphone...

Re: LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

#14
post #3

This seems like an incredibly low bar to hurdle. FB Messenger on iOS is legendarily bloated. In the couple of weeks I had it installed it also managed to be the biggest battery drain on my phone, even more than some 3D games.

Is this incompetence or aggressive data mining? I fail to see how a texting client is that complicated...

[deleted]

Re: LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

#15
post #3

This seems like an incredibly low bar to hurdle. FB Messenger on iOS is legendarily bloated. In the couple of weeks I had it installed it also managed to be the biggest battery drain on my phone, even more than some 3D games.

Is this incompetence or aggressive data mining? I fail to see how a texting client is that complicated...

[deleted]

Re: LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

#16
post #3

This seems like an incredibly low bar to hurdle. FB Messenger on iOS is legendarily bloated. In the couple of weeks I had it installed it also managed to be the biggest battery drain on my phone, even more than some 3D games.

Is this incompetence or aggressive data mining? I fail to see how a texting client is that complicated...

Consider two competing apps. One looks 5% nicer but uses 1000% more memory, cpu and battery. That one will be preferred by users. And this is why things are how they are.

Re: LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

#18
Not sure how much impact this will have, most of the people I know and have discussed this with fall into two camps: people who use FB a lot an will put up with a bad mobile client, and people who don't want FB on their phone, ever.

I have to go years back to think of someone who told me they just couldn't take the bad UX of the clients so they deleted it.

Re: LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app

#20
post #3

This seems like an incredibly low bar to hurdle. FB Messenger on iOS is legendarily bloated. In the couple of weeks I had it installed it also managed to be the biggest battery drain on my phone, even more than some 3D games.

Is this incompetence or aggressive data mining? I fail to see how a texting client is that complicated...

Have you seen how much memory and CPU time Signal uses on the Desktop? Or Slack? The era of running a chat app for almost no resources is gone unless you're an IRC holdout.
Post reply on HN