Discord's Ground-Up Rebuild Aims To Slash RAM From Gigabytes To Megabytes
Discord is at the cutting-edge of social media and instant messaging platforms in terms of features and customization, but its weak optimization is finally getting addressed with a full Rust programming language rewrite. Currently, Discord is built on Electron, which is essentially a stripped-down Chromium-based web browser that runs the Discord web client as a web page.
As we've seen on the Windows side of things, there are major detriments to memory and CPU usage by using this approach instead of writing a fully native application. In fact, most of the performance gains we've been seeing in recent Windows updates can be attested to more parts of Windows switching from the also-web-based React over to the native WinUI framework, for example.
We've been early adopters of Rust since 2018 and a lot of our infra, voice tech, and even some of the current client is already Rust, the holy grail...
Copyright of this story solely belongs to hothardware.com. To see the full text click HERE