Edition:

Editor-in-Chief: Greg · No investment advice

Search

Search the record

Home

The world through technology and finance

From the archive

Discord is moving its desktop app from Electron to Rust for improved speed and memory safety; its CTO shares an image of the Windows app using just 290MB of RAM

Discord is moving its apps fully over to the Rust programming language. … Discord is finally giving up on Electron …

Context & ripple effects

Discord’s client work has been moving toward performance-oriented redesigns: its 2023 mobile-app overhaul included speed and data-use improvements. A Discord engineer said Rust had already been used in the company’s infrastructure, voice technology, and parts of the client since 2018; the desktop migration extends that work across the application.

The move also contrasts with the incremental path taken by Electron-based desktop chat software: Slack’s 2019 Electron update targeted faster launch times and lower RAM use while retaining the framework. Discord is instead changing the client’s underlying technology, with its CTO showing a Windows build using 290MB of RAM.

Ripple effects

  1. First-order effects

    • Discord’s desktop application shifts from Electron to Rust, making lower memory use and memory safety explicit product goals for its Windows client.
    • Electron is removed as the foundation for Discord’s desktop client, changing the technical base on which desktop-specific customizations and integrations have operated.
  2. Second-order effects

    • Slack and other desktop chat products that retain Electron face a clearer performance comparison: Discord’s approach favors a full client rewrite over framework-level optimization.
    • Desktop users running Discord alongside games or other memory-intensive software gain a client designed to demand less RAM, making resource efficiency a more visible competitive attribute for communication apps.
  3. Third-order effects

    • If other large communication clients follow Discord’s lead, desktop software may split more sharply between web-derived shells optimized for development reach and native clients optimized for resource use and memory safety.
    • The migration reinforces a broader shift in which client architecture—not only interface redesigns—becomes a product-level lever for performance-sensitive software.

Related coverage

More related coverage

Discussion

  • 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 …
  • Does this mean I get to fully retire when this releases? [embedded post]
  • > Discord using 290mb of ram [embedded post]
More discussion
  • i should drop some fun not-really-vulns now that the old web client is going away [embedded post]
  • Over the past few days Discord's CTO has hinted at a big update: a rewrite of the desktop client that moves it away from Electron to a fully native client in Rust.
  • We've reached a point in software development where a chat client using 290 MB of RAM is something to brag about. And that's after a complete rewrite. [embedded post]
  • Discord CTO confirms: Desktop client fully rewriting in Rust with GPUI (not Electron/Tauri). Mobile keeps native UI, shares code. User testing soon. [embedded post]
  • DISCORD USING GPUI??????? [embedded post]
  • This has been possibly the most exciting thing I've worked on at Discord, and I can't wait until we can share this with everybody. And yes, accessibility and security are just as important to us as performance, and we're making sure the new app holds the bar there, too! [embedded…
  • gg discord modding might be dead i spent years making discord look the way i wanted and somehow that turned into the thing i'm most known for. i learned so much and met so many cool ppl in the community. so its kinda sad to watch it end like this. but at the same time... one less…
  • Only a third of a gigabyte for a messaging app 😒 [embedded post]
  • Discord is ditching Electron and its new app uses less RAM 🙏 Discord is moving its apps fully over to the Rust programming language.  Details 👇 www.theverge.com/news/1027379...
  • The new Discord client using less RAM is just part of the story. Clicking around feels instant, I can't go back. Check out the boot time. [video] [embedded post]

This article as data JSON, Markdown.