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

Context & ripple effects

Discord’s CTO said the company has used Rust in infrastructure, voice technology and parts of its client since 2018; the desktop rewrite extends that engineering direction to the largest remaining client layer. The reported Windows memory reading gives the migration a visible performance benchmark.

The move contrasts with Slack’s 2019 effort to optimize its Electron desktop app for faster launches and lower RAM use rather than replace its underlying framework. Discord is making the framework choice itself part of the performance strategy.

Ripple effects

  1. First-order effects

    • Discord’s desktop team shifts responsibility for the client runtime from Electron to Rust, targeting faster interaction, lower memory use and stronger memory-safety properties.
    • The 290MB Windows measurement establishes a concrete resource-use benchmark for Discord’s rebuilt desktop app, rather than a general claim about Electron apps.
  2. Second-order effects

    • Electron-based desktop collaboration products, including Slack after its earlier speed and RAM optimization, face a clearer comparison point between tuning a web-runtime client and funding a native rewrite.
    • Third-party Discord desktop customizations may need to adapt to a client architecture that no longer depends on Electron’s established application model.
  3. Third-order effects

    • If large communication clients replicate Discord’s approach, desktop software teams may treat runtime choice as a product-performance and security decision, not solely an implementation detail.
    • The pattern favors organizations that can sustain multi-year systems-language investment across infrastructure and client software, rather than relying only on incremental web-app optimization.

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 …
  • 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.
  • 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]
More discussion
  • 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]
  • Does this mean I get to fully retire when this releases? [embedded post]
  • > Discord using 290mb of ram [embedded post]
  • i should drop some fun not-really-vulns now that the old web client is going away [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...
  • Discord is killing its Electron app that can eat up to 4GB of RAM on Windows 11, and the Rust rebuild uses just 290MB!

This article as data JSON, Markdown.