Discord to optimize performance by migrating to Rust
Discord developers are phasing out Electron and React Native in favor of Rust to significantly reduce system resource usage.
💻TechPhoto: Mezha.ua
Key points
- Full migration to Rust for desktop and mobile
- Significant reduction in RAM usage
- Transition away from Electron and React Native
The Discord engineering team is undertaking a major architectural shift by moving away from the Electron and React Native frameworks. Technical Director Stanislav Vishnevskiy confirmed that the company is transitioning to the Rust programming language to enhance the platform's performance across desktop and mobile versions.
The primary driver behind this decision is to address high memory consumption. Evidence provided by the company suggests that the optimized client occupies approximately 290 MB of RAM, marking a substantial improvement over current versions that often require 1 GB of memory.
The team is utilizing a custom technology called GPUI to manage the interface while sharing core logic through Rust. While a specific launch schedule has not been finalized, the company expects to begin user testing shortly. This change aims to deliver a faster experience while maintaining the familiar interface across all devices.
Source Mezha.ua — mezha.ua/news/discord-moves-from-electron-to-rust-316920/ ↗
Read next
🎭CultureIconic 1998 Hit by Goo Goo Dolls Conquers Global Charts Once Again
The 1998 single «Iris» by American rock band Goo Goo Dolls has re-entered the spotlight, landing in the top ten most popular tracks of the year on Spotify.
👥SocietyArmed Forces of Ukraine Mark 35th Anniversary: Zelenskyy and Drapatyi Congratulate Troops
On the Day of the Armed Forces of Ukraine, the state and military leadership highlighted the key combat achievements of defenders and the evolution of the army over the y…
⚽SportBiathlon: Oleksandra Merкуshyna retains third place in World Cup U23 standings
Ukrainian biathlete Oleksandra Merkushyna kept her third position in the under-23 World Cup standings despite scoring no points at the stage in Hochfilzen, Austria.
🌍WorldMarine Le Pen meets Italian PM Giorgia Meloni in Rome to build European alliances
French right-wing leader Marine Le Pen held talks with Italian Prime Minister Giorgia Meloni in Rome as part of her strategy to forge new European alliances ahead of the …
👥SocietyUkraine to Overhaul Draft Exemptions Amid Surge in Draft Evasion, Says PM Koretzky
Prime Minister Serhii Koretzky announced a crackdown on draft evasion schemes and plans to strip thousands of non-critical companies and media outlets of exemption status…
Morning Attack on Zaporizhzhia: Russian Troops Strike Dniprovskyi District, Injuring Two
Russian forces launched a morning attack on Zaporizhzhia, wounding two residents in the Dniprovskyi district. Local authorities confirmed medical personnel are treating t…