Edit: old post is someone is curious: https://dev.to/jamilxt/electron-vs-gpui-what-discords-290-mb-rust-rewrite-can-and-cannot-prove-34b6
Replaced with the one from The Verge
Edit: old post is someone is curious: https://dev.to/jamilxt/electron-vs-gpui-what-discords-290-mb-rust-rewrite-can-and-cannot-prove-34b6
Replaced with the one from The Verge
Positive: Rust means no more Electron.
Negative: Rust typically means massive attack surface through hundreds or thousands of third-party dependencies.
Negative: Discord likes to demand personal information.
Negative: Discord remains the gatekeeper of your creative work.
Negative: Discord can harvest everything in your direct messages and private channels.
Negative: Discord has been known to lock people out of their communities if they don’t give up their personal information, or even at random.
Most of that has nothing to do with a rewrite, and I don’t think the attack surface of an Electron app is actually any better because it’ll depend on bloody
left-pador whatever.Yeah. Npm definitively is safer than cargo /s.
Any non-retarded company would just verify that their dependencies are secure. And then self-host their own cargo repo to avoid supply chain attacks.
This is a company issue, not a language issue. And if it were a language issue, JavaScript would be worse anyway.