Tech / ARTICLE

Discord drops Electron, moves desktop app to Rust with lower RAM usage

Discord's CTO says the company is moving its apps fully to Rust, removing Electron and React Native. A screenshot shows the Windows client using 290MB of RAM, down from over 1GB in some cases.

Discord is moving its applications fully over to the Rust programming language, a transition that will remove Electron from the desktop client and React Native from mobile. Chief technology officer Stanislav Vishnevskiy outlined the change in a post on X on November 5, 2026. “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,” he wrote. “The holy grail was getting the whole client there.” Vishnevskiy added: “That means Electron goes away, and so does React Native, mobile keeps native UI but shares app code with desktop via Rust.”

Electron has allowed Discord to build its desktop app with web technologies, but the framework carries a reputation for heavy system resource use. Discord’s current Windows client, built on Electron, can easily reach 1GB of RAM or more when a user participates in a few servers. Vishnevskiy shared an image of a new Windows client using 290MB of RAM, which he presented as a clear improvement. The screenshot did not include information about the number of servers, open channels, or voice activity, and Discord has not released side-by-side benchmarks under identical conditions.

From Electron to Rust

Rust is a programming language designed for speed and memory safety. Discord began adopting it in 2018, initially for infrastructure and voice technology. Some parts of the current client already run on Rust. Moving the entire desktop client to Rust removes Electron and shifts the application to a single language for core logic. On mobile, React Native will no longer be used. Native UI remains, but application code is shared with desktop through Rust. This change means the desktop app and mobile apps will share more code, though Discord has not yet described the full scope of that shared layer.

290MB RAM on Windows

The screenshot posted by Vishnevskiy shows the Discord Windows client using 290MB of RAM. Current Electron-based builds can hit 1GB or more after joining only a few servers, so the number suggests a meaningful reduction. Discord has not published details on the test environment, including the number of servers, channel activity, or whether voice was active. The image is a single data point and not a controlled comparison.

Testing timeline unknown

Discord has not said when it will complete the switch to Rust. Vishnevskiy wrote that the company hopes to get the new client into testing with users soon. There is no public download for the Rust-based client, and Discord has not announced which platforms will get access first or how the rollout will proceed. Until then, the existing Electron app continues to serve users, with memory use varying based on active servers, channels, and voice features.

END
Feedback