Discord is ditching Electron and its new app uses less RAM

458 points · 386 comments on HN · read original →

Points and comments are a snapshot, not live.

Discord is replacing Electron with Rust to reduce RAM usage significantly.

Discord is moving its desktop app from Electron to Rust, a move CTO Stanislav Vishnevskiy says eliminates Electron and React Native, with mobile retaining native UI but sharing app code via Rust. A screenshot shows the Windows client using roughly 290MB of RAM, down from over 1GB on the current app. The company has used Rust since 2018 for infrastructure, voice tech, and parts of the client. Testing is expected soon, but no release date has been set.

What commenters are saying

Commenters broadly welcomed the change, praising performance improvements and noting AI tools enabled the migration. Some worried modding will become harder and expressed skepticism about Discord's motives, citing past ads and data policies. Hacker News user longb noted the Linux client used 1326MB from a cold start with 11 servers. A Discord employee confirmed the effort focuses on performance. Several commenters recommended open-source alternatives like Chatto and Armada.