started · updated
Discord develops new Rust-based client to reduce RAM usage
Discord is undergoing a significant technical overhaul by transitioning its desktop client from the Electron framework to the Rust programming language. This shift aims to improve application performance, specifically by reducing memory consumption and accelerating startup times.
According to a demonstration by Discord CTO Stanislav Vishnevskiy, the new client uses approximately 290 MB of RAM with two active accounts. This represents a significant reduction compared to the 1 to 2 GB typically required by the current Electron-based version. The current framework, which is used by applications such as Slack and VS Code, functions by packaging a full Chromium browser and Node.js instance within each app, leading to high resource overhead.
While Discord has utilized Rust for various infrastructure components since 2018, this move marks a major change to the core desktop client architecture. The transition involves moving away from the web-technology approach of Electron toward a more resource-efficient implementation.
Entities
Chromium · Discord · Electron · Rust · Stanislav Vishnevskiy