← Sat, Nov 7 digest

Every Windows 11 app should kill Electron, and Discord just showed why

read article ↗ hn thread ↗

Discord is replacing its Electron-based desktop app with a new Rust and GPUI client, significantly cutting startup time and memory usage.

summary is enough The article summarizes unreleased Twitter clips and founder statements, making the comment thread on cross-platform frameworks more engaging than the piece itself.

summary

Discord executives previewed a new desktop client built with Rust and the GPUI framework, abandoning Electron to improve startup times and memory footprint. Early benchmarks from company clips show faster cold boots and roughly 70 percent lower RAM usage with multiple accounts active. While the client remains in private testing, the architectural shift signals a broader move away from bundled browser runtimes for resource-heavy desktop apps.

key points

  1. Discord is replacing Electron with GPUI, a GPU-accelerated Rust UI framework developed by the makers of the Zed editor.
  2. The new client eliminates startup update screens and reportedly runs at around 290MB of RAM even with two concurrent accounts.
  3. Mobile applications are also shifting code sharing to Rust, and the web app is moving to WebAssembly.

who should read it

Desktop software engineers and developers interested in cross-platform UI frameworks and performance optimization.

discussion positive

consensus

Commenters largely agree that Electron has bloated desktop applications and welcome a shift toward lower-memory architectures, though many remain skeptical of early performance claims for unreleased software.

pushback

Some push back that Electron was a necessary evil for small teams targeting multiple platforms easily, while others warn that custom Rust UI toolkits often lag behind in accessibility and non-English IME support.

best comment by Doohickey-d ↗

One nice thing about Électron is that it supports accessbility and non-english IMEs correctly, and thus all Electron apps have decent accessibility out of the box, comparable to web apps.

Most Rust GUI toolkits, at least in 2025, did not have that good accessibility or IME: https://www.boringcactus.com/2025/04/13/2025-survey-of-rust-...

Hopefully this has gotten better and the new discord client isn't worse in that regard.

It highlights a critical practical downside of abandoning web-based runtimes: custom Rust UI toolkits frequently struggle with accessibility and international input methods.

Generated by an LLM from the article and thread. Check the sources before relying on it.