RC RANDOM CHAOS

Discord Replaces Electron with Rust, Cuts Memory Consumption

· via Hacker News

Original source

Discord is ditching Electron and its new app uses less RAM

Hacker News →

Discord is retiring Electron in favor of a full Rust rewrite, addressing long-standing complaints about the framework’s resource intensity. The company has been building infrastructure and voice systems in Rust since 2018, and this initiative extends that foundation to the core client. The shift eliminates both Electron and React Native dependencies entirely.

Performance improvements are substantial: the new Rust-based Windows client runs on 290MB of RAM versus the current app’s pattern of exceeding 1GB when managing multiple servers. This matters for an application designed for constant use across active communities.

The architecture maintains native mobile UI while sharing compiled code between desktop and mobile clients through Rust. User testing is expected to launch soon, though a full production timeline hasn’t been announced.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.