Discord is rebuilding its clients around Rust and dropping both Electron and React Native, CTO Stanislav Vishnevskiy said on X on Wednesday.
The desktop app's core moves to Rust, and its interface moves to GPUI — the GPU-accelerated UI framework that Zed Industries built for its code editor. Mobile keeps native Android and iOS interfaces but will share the same Rust application logic, which retires React Native entirely. It is the largest architectural change the chat platform has made since it shipped, and it reverses the industry default of wrapping a web app for the desktop.
The motivation is memory. Electron bundles Chromium and Node.js, and Discord's client has become a byword for an idle app that eats a gigabyte. The Rust base is supposed to come in under 300 MB — a figure Discord has not yet let the public verify, since the build circulating is an early Windows 11 preview labelled as a test.
Discord is not new to this. It has worked with Rust since 2018, and in 2020 it ported its message-reading service from Go to Rust specifically to eliminate latency spikes caused by garbage collection; Rust's memory model also suited real-time audio. What is new is uniting desktop and mobile on one core instead of maintaining two stacks.
GPUI is the bet that carries the most risk. Unlike Tauri, which keeps the webview and swaps out the shell, GPUI renders natively: Metal on macOS, DirectX 11 on Windows, wgpu on Linux. Zed reached version 1.0 in April, but GPUI itself has not, and its API has broken between releases. Discord is also keeping system webviews for embedded content such as YouTube players and Activities, so the client will run two rendering paths for a while.
For developers, the interesting part is not the framework choice but the shape of the team. Discord is now maintaining a UI toolkit it does not own, at a maturity level its owner has not declared stable, while shipping to hundreds of millions of installs across three operating systems. Zed's framework gets its largest production test to date by accident.
Whether the rewrite pays off in RAM depends on numbers nobody outside Discord has measured yet. Vishnevskiy's claim is a target, not a result.




