Discord replaces Electron framework with Rust-based desktop application
Discord is transitioning its desktop application away from the Electron framework to Rust, aiming to significantly reduce system memory usage.

Discord has announced a major architectural shift for its desktop application, moving away from the Electron framework in favor of Rust. The transition addresses long-standing criticism regarding the high memory consumption associated with Electron-based applications.
By leveraging Rust, a language prioritized for its memory safety and speed, Discord expects to provide a more efficient client. According to CTO Stanislav Vishnevskiy, the company has integrated Rust into its infrastructure and voice technology since 2018, and this move completes the migration of the client-side code.
The removal of Electron and React Native marks a significant shift in Discord’s engineering strategy. By managing system resources more effectively, the company aims to improve performance across diverse hardware configurations, moving away from web-based desktop rendering toward a more native execution model.