Every Windows 11 app should kill Electron, and Discord just showed why windowsla...
HN Best 30 @best30
Every Windows 11 app should kill Electron, and Discord just showed why windowslatest.com · 209 points · 209 comments · HN thread
TL;DR Windows Latest reports on a short clip shared by Discord's CTO showing a new Rust-based Discord client (Discord Phoenix) loading its friends list before the current Electron client leaves its loading screen, with about 290MB RAM use with two accounts signed in. Discord is replacing Electron with GPUI rather than Tauri, and says the client is heading into private testing with no public release date yet.
- A 15-second clip shared on X by Discord CTO Stanislav Vishnevskiy shows the Rust client showing a loaded friends list while the Electron app is still on its loading screen; Discord employees said both were cold starts.
- The Rust client skips the 'Starting' update screen and auto-updates in the background, and does not use the Microsoft Store or Windows Update Orchestration Platform for updates.
- The new client used about 290.2MB RAM in Task Manager with two accounts signed in; the article compares this to a company-stated normal usage under 1GB and Electron builds it says often idle at 1-2GB, but Discord has not published a like-for-like benchmark.
- Discord chose GPUI, the Rust UI framework from the Zed editor team, which draws the interface on the GPU without HTML; Tauri, often guessed, is not used.
- Mobile apps are dropping React Native for shared Rust code, and the web app will move its logic to WebAssembly while keeping HTML rendering.
- Discord says the client is going into private testing soon, works on Linux per staff, and stores login tokens in the system keyring.
Discussion The thread is large and mostly argues about Electron in general rather than the Discord client itself, which many commenters note has not shipped and whose numbers are self-reported. Discussion ranges from the historical reasons Electron won (one team, many platforms, web skills) to whether LLMs now make native cross-platform development cheap enough to abandon it. Accessibility, IME support and the viability of GPUI and other Rust toolkits come up repeatedly. The mood is skeptical and combative, with many users venting frustration about memory use and some defending Electron as a pragmatic trade-off.
- Electron is bloated and should be abandoned for native apps (most): Many commenters say Electron wastes RAM and produces sluggish, non-native apps, citing slow startup and high idle memory in VS Code, Discord and Teams. Several argue that the trade-off was never acceptable for end users.
- Electron was a reasonable trade-off for its time (many): Some argue Electron let small teams ship one app across Windows, macOS and Linux when few cross-platform native options existed, and that web tech brings accessibility and wide developer familiarity.
- LLMs make native multi-platform apps practical now (many): A group argues that AI coding tools have lowered the cost of maintaining separate native codebases, so the cross-platform argument for Electron no longer holds. Others push back that tokens and maintenance are still finite costs.
- Announcement is premature, numbers are unverified (many): Several commenters point out the Rust client is not released, benchmarks are self-reported, and the article's framing as a verdict is overconfident. Some also criticise the article as low-quality journalism.
- Rust GUI toolkits lack accessibility and IME support (some): Commenters raise concerns that GPUI and other Rust UI frameworks have weaker accessibility and input-method support than the web stack, which matters for screen reader users and East Asian languages. One blind commenter credits per-app zoom in Electron for helping them.
- Native UI frameworks like Qt or Avalonia are the better answer (some): Some suggest mature cross-platform toolkits such as Qt, Avalonia or Slint already solve the problem with lower memory use, though others find them dated or harder to style.
- Memory cost is a minor concern for most users (a few): A minority says Electron's convenience and cross-platform reach matter more than resource use, and that modern hardware makes the overhead tolerable.
Links from the comments
- GPUI project site, the Rust UI framework Discord is using, discussed for its missing screenshots and maturity.
- 2025 survey of Rust GUI libraries, cited for accessibility and IME gaps.
- SideX, a VS Code-style editor written in Rust, offered as evidence native alternatives can be fast.
- Crux, a Rust core with native UI shells, suggested as a cross-platform approach.
- Zed discussion on running without a GPU, relevant to VDI environments.