Live data from Hacker News

Rust at Scale: An Added Layer of Security for WhatsApp

engineering.fb.com

111–120 of 151 posts

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#111

Earlier quoted context omitted.

WhatsApp could exfiltrate messages at the ends. But I assume the trick lies in the word "default". Didn't Skype also default to end-to-end encryption, unless there was a server flag that disabled it for that specific user (I might be fuzzy on the details)

I don't trust un-auditable client applications... If you want to assure me your e2e is secure, there must be at least two clients implemented by different people, with at least one of them opensource. Whatsapp used to have this, but lately they have cracked down on third party clients.

> Whatsapp used to have this, but lately they have cracked down on third party clients.

Blame spammers on that. The amount of scammers and spammers on Whatsapp is unreal.

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#112
post #71

Earlier quoted context omitted.

What one should do about this? I mean, beside working on lowering that number. (Asking as a European who quite stubbornly refuses to install it - there are dozens of us. Dozens!) Edit: please don't participate in making WhatsApp even more inescapable as it is today.

Force interoperability one way or another. WhatsApp is a closed system, if I want to use an alternative I'm stuck with adversarial interoperability, so stuff like Beeper (which is great, but...) which might get my account banned. Or waiting for some legislation to force WhatsApp to open it's API and let me interact with my contacts there without being locked into their apps

There is legislation in the EU, and BirdyChat announced compatibility.

https://www.birdy.chat/blog/first-to-interoperate-with-whats...

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#113
post #18
post #14

Earlier quoted context omitted.

Well, doesn't look like to me, and a plain ESP32 with a touch screen would do the job for displaying a weight bar with plus, minus and reset count buttons.

And then you get to a cardio unit where you want a completely different set of features and have to start over. Going lean on hardware only makes sense when you push out a very high number of units, when you have to deal with battery constraints or when you just have a lot of intertia, the combination of existing codebase and developer filter skillset.

And then you start selling in a country which demands accessibility for your equipment. Good luck getting a 20+ language human-sounding TTS system on your ESP32.

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#114

Earlier quoted context omitted.

Network effect is killer. "better" would include having more than 3 billion people already on it. Maybe the EU or China will crack down on it. A single company shouldn't decide who gets to talk to half the world. If that company is American they will not tolerate it for long. Personally DeltaChat is my new favorite Thing but it falls afoul of Zooko's Triangle - A WhatsApp number or POTS number is short because it's c…

The EU has already forced WhatsApp to be interoperable. Of course, Meta complied maliciously, making it a setting that you have to enable, but at least it's a start.

I guess the bean counters figured it'd be cheaper compared to ultimately paying the fine they get for maliciously following the rules. Hope the fine ends up large enough to make them wrong :)

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#115

Earlier quoted context omitted.

Every encryption is end to end if you're not picky about the ends, or metadata. Do you trust facebook (excuse me, meta) to not snoop on your messages, and to not share them with the "intelligence" agencies ?

This is not true. The IETF draft is explicit that E2EE means that the message cannot be read by any party other than the sender and the intended receiver. When companies like Meta claim they support E2EE, this is what they claim. There are no tricky semantics or legalese at play here.

Do companies that claim E2EE support face consequences if they don't abide by IETF's definition? Not like IETF governs them.

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#116

> "WhatsApp provides default end-to-end encryption for over 3 billion people". Wasn't there news lately that they can still read your messages somehow?

Every encryption is end to end if you're not picky about the ends, or metadata. Do you trust facebook (excuse me, meta) to not snoop on your messages, and to not share them with the "intelligence" agencies ?

> Do you trust facebook (excuse me, meta) to not snoop on your messages

No, but I trust some nosy German guy at TU Whatever to spend hours poking at the assembly, find that hidden flag and proudly present it at 40C3.

With enough eyeballs, all source is open (and AI will give us far more eyeballs than we have any idea what to do with).

Sure, you can have different builds distributed to different people, but the NSA can also just do that with Signal, Signal being open source makes it that much easier. FDroid mitigates this somewhat, but it's not like the NSA can't get a fake TLS certificate for their domain and MITM your communications.

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#117
post #57
post #54

Earlier quoted context omitted.

The major problem with sticking an Android tablet on to exercise equipment is the difference in life spans. Android tablets are generally going to last you 4-5 years. Weight equipment should be able to last decades. There is some simple & cheap hardware that can last decades, but it is legitimately harder to program. Even worse was an article some months back about Android tablets hooked to heating & cooling systems…

> Weight equipment should be able to last decades. "should" or "actually can"? Do you have references to show that's the actual lifespan of the equipment, mechanically?

Weight training equipment lasts decades all the time. It's just big piles of metal, it's not hard to get right.

What actually prompted the engineering-CYA "should" is if the Android tablet is controlling some sort of robotic system for selecting weight sizes, that that system might have an expected life span on par with a tablet, being a physical thing moving around some pins or something in a potentially hostile user environment. That'll break long before anything else would.

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#118

> over 3 billion people to message securely each and every day. Whatsapp is a chat application with 3 billion daily active users. For those of you in the US (where Whatsapp is seldom used), this is a fact worth remembering. If you want to build products for the rest of the world, you need to know how those users think and breathe - and for 3 billion of them, Whatsapp is how they talk.

In markets where Whatsapp is entrenched, it’s already begun to enshittify.

They have ads and spam already (sorry, no-consent messages from businesses). This isn’t even new. [0]

There’s a clear pattern, say “we’ve rolled out strict policies”[1] and then… nothing changes on the ground, and TechCrunch writes another “they’ve fixed it” article a year later.[2]

Also their Communities feature has pretty crap UX.

Yes WhatsApp’s pervasive. But if pervasive was the end of the story, we’d all be using ICQ and AOL. The last thing any country needs is to hand over more of their lives to Facebook [sic].

[0] https://techcrunch.com/2022/10/10/in-india-businesses-are-in...

[1] https://techcrunch.com/2024/11/20/whatsapp-will-finally-let-...

[2] https://techcrunch.com/2025/10/17/whatsapp-will-curb-the-num...

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#119

Earlier quoted context omitted.

They didn't but keep in mind that the app is currently 170MiB. The standard library shouldn't have added more than a few hundred kilobytes. They already likely pay similar costs for c++, but it's more worthwhile as they have a lot more c++ code total. Also note that if you statically link to the rust std library, lto will excise the majority of it anyways, no need to rebuild it.

The default hello world stripped with one codegen unit and panic=abort was 342kB both nightly and stable. Adding lto dropped it 42kB in stable and 40kB in nightly. Adding build-std and only building core did not reduce it any further in size.

I assume OP is taking about using -Zbuild-std on nightly. This will drop it much more.

Re: Rust at Scale: An Added Layer of Security for WhatsApp

#120
post #90

Earlier quoted context omitted.

A comment like this works as well, let the community do its thing.

There are a couple of bots here. Quoting a user: keeping it simple: a flat $15,000 to get you on the front page of Hacker News. [...] contact e-mail below Expensive, but now with LLMs it's super cheap to do. Spend a week to do a bot, get 10'000 USD of ARR for your B2B tech SaaS, and applause from your investors. And a week is probably exaggerated, 2 days max

Do you have any actual evidence that these types of services are being offered for that type of price point, though?

The reason I'm asking is that I actually believe the price point is much lower. It's probably much easier to get on the front page of HN of you time the submission + upvotes well enough.

Post reply on HN