Discord's Rust Rewrite Reconsiders the Cost of Electron
Discord plans to replace Electron with a Rust and GPUI client. Its architecture has a clear logic, but a 290 MB screenshot cannot measure the benefit for users yet.
Written by AI. Mike Sullivan

Discord plans to replace its Electron desktop client with a Rust-based app whose interface uses GPUI. Co-founder and chief technology officer Stanislav Vishnevskiy outlined the move in early November. React Native will also leave the mobile apps: phones will retain native interfaces while sharing application code with desktop through Rust. That is a substantial rebuild of how Discord works across devices, even if the finished app looks familiar.
Vishnevskiy showed a Windows Task Manager screenshot listing an experimental client called Discord Phoenix at about 290 MB of RAM. It is an appealing number for anyone who runs Discord alongside a game, a browser and several programs they forgot to close. It is also one reading, without an equivalent measurement of the current client under the same workload or a clear account of everything included in the measurement. Treat it as a glimpse of a working build, not a percentage discount on your next RAM upgrade.
The announcement raises a better question than whether Rust has defeated Electron: what does Discord gain by changing where its shared code lives, and what must it still get right?
The Useful Bargain Discord is Leaving Behind
Electron lets developers build desktop applications with web technologies and bundle a Chromium browser core. That can make it easier to deliver a consistent interface across operating systems. For Discord, one desktop app served Windows, macOS and Linux for years. That platform reach is a benefit of the approach, although it does not tell us why Discord originally chose it.
Bundling a browser engine has costs in installation size and resources. Those costs alone do not dictate an application's memory use: the features it runs, the work it performs and its own bugs count too. Calling every heavy Electron app a framework failure would let application developers off rather easily. It would also leave the puzzle of why teams accepted the trade-off in the first place. A common interface and a common development stack can be valuable when the alternative is maintaining several separate desktop clients.
Discord has spent years building around its existing stack. Vishnevskiy says the company has used Rust since 2018, including in infrastructure, voice technology and portions of the current client. Extending that work into shared application code gives the rewrite a practical logic: Discord can reuse more of the systems it has developed while changing how the desktop interface is drawn. That is an inference about the architecture, rather than a claim that a programming language supplies a free performance upgrade.
The new design also draws a line between shared logic and shared screens. Discord says mobile will keep native interfaces. Desktop will use GPUI, a Rust interface framework associated with the Zed editor, rather than Tauri, which typically displays a web interface through an operating system's webview. In further details of the plan, Vishnevskiy identified GPUI as the desktop choice. A developer can write common app behavior once while presenting it differently on a phone and a PC. Anyone who has tried to use a desktop-shaped interface with a thumb can see the attraction.
Discord's reported plans do not banish the web from the product. Activities and YouTube embeds will use a system webview, while the browser app will continue to render HTML and move application logic to WebAssembly, Vishnevskiy explained. The resulting architecture is selective: share code where Discord expects a payoff, and use different interfaces where the devices demand them. That is more interesting than a ceremonial bonfire for JavaScript.
What Came Before the 290 MB Screenshot
Discord had been working on Windows memory problems before Phoenix appeared. In a December 2025 account of those efforts, a staff member said the team had fixed more than nine issues and reduced p95 memory use by 5%. P95 concerns the high end of observed usage, not every user's typical session. The team also tested restarting a client that exceeded 4 GB, with restrictions intended to avoid interrupting calls. Discord described the restart as temporary relief.
That sequence changes how to read the rewrite. Discord tried fixes inside the existing client and experimented with containing unusually high memory use; now it proposes changing the client architecture. It does not follow that the earlier work failed, or that Electron caused each memory problem. The staff account also mentioned issues involving the platform, operating system, drivers or hardware. Rebuilding the interface may remove some overhead, but debugging does not retire when a company changes languages.
A restart threshold is particularly easy to misuse as a comparison. Four gigabytes marked an exceptional condition that triggered an experiment. Phoenix's roughly 290 MB came from one screenshot. Subtracting one from the other would produce a number with impressive typography and no useful interpretation. A reader assessing the eventual release should instead look for both versions running comparable accounts, channels, media and calls on the same hardware, measured after startup and after extended use. Measuring the whole client, alongside responsiveness and CPU and GPU activity, would reveal more than a single process in Task Manager.
Another desktop project illustrates the options Discord could have considered, without providing a forecast for Phoenix. TinyJS uses each operating system's webview: WebKit on macOS, WebView2 on Windows and WebKitGTK on Linux. It avoids bundling Chromium with each app, but differences among those engines can produce visual differences across platforms. Electron pays a packaging cost for a more uniform rendering environment. Discord has chosen a GPUI desktop interface while retaining webviews for some embedded experiences. TinyJS builds small desktop applications, so its package sizes and performance cannot predict how a communications client will behave.
The choices involve more than RAM. Discord marketing director Ryan K. Rigney said private testing was approaching and that the team wanted to check stability and security before release. Engineering vice president Mark Smith also named accessibility and security alongside performance. Those priorities put a useful constraint on the appealing screenshot: a lighter app must still handle the conversations, media and accounts people rely on. There is no announced public release date.
For now, Discord has made a consequential engineering choice and shown an early build. The verdict belongs to the version people can install and keep running through an ordinary day, preferably without Task Manager becoming the most interesting window on the screen.
More Like This
Claude Code vs Codex: Which AI Coding Tool Actually Ships?
AI LABS tested Claude Opus 4.7 against GPT 5.5 across nine categories. The results reveal surprising tradeoffs between polish and efficiency.
Discord’s New Age Checks Shift the Privacy Trade-Off
Discord’s revised age checks reduce routine ID demands but expand automated classification. Here is what users gain, risk, and should watch as rollout grows.
OpenTUI Brings React Syntax to Terminal Apps via Zig
OpenTUI lets you build terminal UIs with React, Solid, or TypeScript on a Zig rendering core. Here's what it actually means for your next CLI project.
Discord's Search Plan Exposes the Limits of Chat Archives
Discord plans to put some public server messages in web search. The change could surface useful answers, but finding a message is only one part of keeping an archive.
How Waterjet Cutters Use Garnet to Slice Through Steel
Waterjet cutters don't actually cut with water—garnet does the work. Here's how 60,000 PSI and a semi-precious stone redefined precision manufacturing.
OpenAI's Persistent AI Agent: What It Is and What It Costs
OpenAI is testing a persistent, always-on mode for its Codex AI agent. Here's what that actually means—and why the privacy history matters.