Discord is transitioning its desktop client from Electron to a new architecture built with Rust. The company is utilizing the GPUI framework, developed by the Zed editor team, to handle GPU-accelerated interface rendering without relying on Chromium or WebView engines.

According to CTO Stanislav Vishnevskiy, the new client, internally referred to as Discord Phoenix, significantly reduces resource consumption. Testing shows the application uses approximately 290.2 MB of RAM while logged into two accounts simultaneously, compared to the 1 GB to 4 GB typically required by the previous Electron-based version.

The migration strategy also extends to mobile platforms. Discord plans to replace React Native on iOS and Android with Rust, while maintaining native UI elements. This approach allows the company to share application logic between desktop and mobile versions through a unified Rust codebase.

The company previously addressed performance issues by testing a mechanism to restart the client if RAM usage exceeded 4 GB. While the new client will still use WebView for specific embedded features like YouTube and Activities, the core application will remain native. The new version is expected to enter user testing soon.