Every Windows 11 app should kill Electron, and Discord just showed why(windowslatest.com)
454 points by thunderbong 4 days ago | 484 comments
tl;dr: Discord is replacing its Electron-based desktop client with a new Rust client built on GPUI (the UI framework from Zed), demonstrating dramatically faster cold-start times and ~290MB RAM usage with two accounts signed in versus 1-2GB for the Electron version. Mobile apps will drop React Native and the web app will move logic to WebAssembly, allowing shared Rust code across platforms. Private testing begins soon, with Linux and macOS support confirmed, putting pressure on Electron/WebView2-based competitors like Teams and WhatsApp.
HN Discussion:
  • ↓Electron's cross-platform development value isn't addressed by performance arguments
  • ~Better browser integration is the real solution, not native rewrites
  • ~Discord's path is wrong; Kotlin Multiplatform or Qt would be better choices than Rust/GPUI
  • ↑Electron apps are bloated and wasteful; moving away from it is overdue
  • ↓Electron offers accessibility and IME support that Rust GUI toolkits often lack