Discord Is Rewriting Its Apps in Rust for Speed

TL;DR: Discord is rewriting its desktop and mobile apps in Rust, replacing Electron and React Native. The new approach uses a shared Rust core to directly access device hardware, promising major reductions in memory use and faster startup times.
Key facts
- Category
- Tech Updates
- Impact
- High
- Published
- Source
- InfoQ
Full summary
Discord is rewriting its apps in Rust, ditching Electron and React Native for a major boost in performance and lower memory usage.
Discord is undertaking a significant engineering overhaul, rewriting its desktop and mobile applications in the Rust programming language. According to a recent announcement from CTO Stanislav Vishnevskiy, first reported by InfoQ, the company is moving away from its long-standing technology stack based on Electron for desktop and React Native for mobile. This ambitious project aims to create a more performant and efficient user experience across all platforms. The new architecture is built around a single, shared Rust core that handles the application's primary logic. Early tests of the new client reportedly show substantial improvements, including a significant reduction in memory consumption and faster boot times for core features like chat, voice, and video streaming.
The technical shift represents a fundamental change in how Discord builds its clients. The previous approach relied on frameworks that add layers of abstraction. Electron, for instance, packages a web application inside a full Chromium web browser, which is notoriously resource-intensive. React Native translates JavaScript code into native UI elements, but still carries the overhead of a JavaScript runtime. The new Rust-based architecture eliminates these layers. On desktop, it leverages a GPU-accelerated rendering framework, originally developed for the Zed code editor, to draw the user interface directly on the screen. This bypasses the need for a browser engine entirely. On mobile, the shared Rust core interfaces directly with the platform's native UI views, ensuring the app feels responsive and integrated with the operating system. This unified core for business logic simplifies development and ensures consistent behavior across desktop and mobile.
This move places Discord at the forefront of a growing industry trend away from web-based cross-platform frameworks for performance-critical applications. For years, tools like Electron and React Native were the default choice for companies wanting to ship products on multiple platforms quickly, with notable examples including Slack, Microsoft Teams, and Visual Studio Code. However, this developer convenience often came at the cost of user experience, leading to widespread complaints about high RAM and CPU usage. Discord’s decision is a high-profile rejection of that trade-off. It serves as a powerful validation for Rust as a mature language capable of powering complex, consumer-facing applications, moving it beyond its typical domain of systems programming and infrastructure. It suggests that for applications where real-time performance is a key competitive differentiator, the investment in a native, performance-oriented stack is becoming justifiable.
For CTOs and engineering leaders, Discord's rewrite is a compelling case study that challenges conventional wisdom about cross-platform development. It forces a re-evaluation of the long-term costs associated with resource-heavy frameworks, which can include user churn due to poor performance and higher operational demands. While a complete rewrite is a drastic step that not every organization can afford, it highlights the strategic importance of performance as a core product feature rather than an afterthought. The key thing to watch now is the public release and the real-world metrics that follow. If Discord successfully delivers on its promise of a dramatically faster and lighter client, it could inspire a wave of similar projects across the industry. This could, in turn, accelerate the development of the Rust UI ecosystem and establish a new benchmark for what users expect from their desktop and mobile applications.
Why it matters
Discord's move from Electron and React Native to Rust is a major signal for the software industry. It challenges the dominance of web-based cross-platform frameworks, providing a high-profile case study for teams prioritizing performance, lower memory usage, and a unified native codebase over faster development cycles.
Business impact
A faster, more efficient Discord app directly improves user experience, which can boost retention and create a competitive advantage. This engineering investment sets a higher performance bar for competitors and forces a re-evaluation of the long-term cost of using resource-heavy frameworks.
Tags
Related on Notifire
Related stories
Primary source: InfoQ