Science & Tech · Big Tech & Internet · 1 hr ago

Discord is rebuilding its desktop app in Rust to reduce memory use

Discord is rebuilding its desktop app in Rust to reduce memory use

Discord is rebuilding its desktop app in Rust, a programming language used to make the new version faster and more efficient.

The current desktop app uses Electron, a framework that lets developers build apps with web technologies but can use a lot of computer memory.

A demonstration showed the new Windows app using 290MB of RAM, while the current app can reach 1GB or more for some users.

Discord’s chief technology officer also showed the new app starting faster than the existing version.

The change could make Discord easier to use on computers with limited memory, an important concern as RAM prices are high.

Discord hopes to start testing the new app with users soon, but it has not said when the full switch will happen.

3 sources

Related

What people are saying

Stanislav VishnevskiyDiscord chief technology officer
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 was getting the whole client there
via The Verge
That means Electron goes away, and so does React Native, mobile keeps native UI but shares app code with desktop via Rust
via The Verge
hope to get it into testing with users soon
via The Verge

Posts on X