Discord migrates desktop client from Electron to Rust to reduce system memory usage
Discord is fundamentally rebuilding its desktop client to solve the chronic memory bloat associated with the Electron framework, moving the application toward a native architecture written in Rust. This shift represents one of the most significant technical overhauls in the platform's history, targeting the high system resource consumption that has long plagued the desktop experience.
The transition was confirmed by Discord CTO Stanislav Vishnevskiy, who revealed that the company is moving its apps fully over to the Rust programming language. While Discord has utilized Rust since 2018 for its infrastructure, voice technology, and portions of the current client, the company is now aiming for the "holy grail" of migrating the entire client. This new version, internally referred to as Discord Phoenix, replaces the Chromium-based Electron framework and React Native. According to Vishnevskiy, while the mobile application will retain its native UI, it will now share application code with the desktop version via Rust.
The Architecture Shift
The move away from Electron is a direct response to the inherent overhead of web-based desktop frameworks. Electron packages a full copy of Chromium with the application, which often results in excessive memory and processing demands. To avoid similar pitfalls, Discord is not using Tauri or other webview-based alternatives; instead, it is employing GPUI, a GPU-accelerated interface framework written in Rust. This allows Discord to render its interface natively, though certain embedded features—such as Activities and YouTube content—will continue to rely on system webviews.
This architectural pivot is intended to eliminate the "Starting" screen during launch, as the app will no longer need to load heavy Electron libraries, potentially resulting in faster boot times. The performance gains are already evident in early snapshots. Vishnevskiy shared an image of a Windows 11 build showing the client consuming just 290.2MB of RAM, a figure that is particularly notable given that the developer clarified the app was running two accounts simultaneously.
Addressing Memory Bloat
The efficiency of the Rust rebuild stands in stark contrast to the current Electron client, which can easily consume 1GB of RAM under normal conditions and, in some cases, exceed 4GB. The memory issues have been severe enough that a Discord employee previously acknowledged on Reddit that the company had to test an experimental automatic restart mechanism for users whose memory usage spiked past the 4GB mark.
Even recent attempts to optimize the existing framework have yielded mixed results. Patch notes from September 2026 indicated that an upgrade to Electron 42 successfully reduced median CPU usage by approximately 17%, but that same update actually increased median memory consumption by around 4%. By moving to a native Rust implementation, Discord aims to bypass these incremental updates in favor of a fundamental reduction in footprint.
The timing of this transition is critical as the industry faces ongoing hardware constraints. With DRAM supply constraints expected to persist through 2027, memory-efficient software has become increasingly valuable for users. While Vishnevskiy expressed hope to begin testing the new client with users soon, Discord has not yet announced a public release date. Until then, the existing Electron application will remain the standard, leaving users to wait for the full deployment of the Phoenix client to see if these early memory savings hold up during intensive gaming sessions and voice calls.

