We've been early adopters of Rust since 2018 and a lot of our infra, voice tech, and even some of the current client is already Rust, the holy grail was getting the whole client there. That means Electron goes away, and so does React Native, mobile keeps native UI but shares app… https://t.co/2CgWyOzaq0 pic.twitter.com/IdOGd4nUglNovember 4, 2026
Open up Task Manager and check how much memory Discord is currently hogging on your PC. If it's anything like mine, it's probably north of 500 MB. Alas, things should change soon, as Discord is moving the client completely over to a new programming language. It might not sound like that big of a deal, but Discord's CTO, Stanislav Vishnevskiy, shows it running on as little as 290 MB of memory.
Discord is switching from Electron to Rust. Electron is a software framework, a building block that allows JavaScript apps (among others) to run standalone on desktops. Built on Chromium, the underlying model behind Google Chrome, there is an overhead here that swapping to Rust aims to fix.
Vishnevskiy says, "We've been early adopters of Rust since 2018 and a lot of our infra, voice tech, and even some of the current client is already Rust, the holy grail was getting the whole client there. That means Electron goes away, and so does React Native, mobile keeps native UI but shares app code with desktop via Rust."
Though some suspected Discord would be swapping to Rust using Tauri (an open-source framework for desktop and mobile platforms), Vishnevskiy says it's actually using GPUI (a framework written in Rust), but "We have our own patches on top of it".
Source link







