NewsCrawler.org

Discord is ditching Electron and its new app uses less RAM

Discord is ditching Electron and its new app uses less RAM
Discord is ditching Electron and its new app uses less RAM
Image: Reddit

Update · : The new article names the desktop client "Discord Phoenix" and says Vishnevskiy shared a Task Manager screenshot showing it at about 290 MB of RAM. It also reports that the company plans a beta release but has not given a timeframe, and links the timing to a DRAM shortage, with TeamGroup's CEO saying customers will soon be unable to buy DDR4 or DDR5 RAM at any budget.

Discord is dropping Electron[1], the cross-platform framework that lets developers build desktop apps with web technologies, and is moving its desktop app fully to Rust, a programming language designed for speed and memory safety. Chief technology officer Stanislav Vishnevskiy said in a post on X that Discord has used Rust since 2018 in its infrastructure, voice tech and parts of the current client, and that moving the whole client to Rust means Electron and React Native[2] go away. Mobile apps will keep native UI but share application code with the desktop through Rust. Vishnevskiy also shared a screenshot of the Discord Windows client using just 290MB of RAM, an improvement over the current app, where usage can easily hit 1GB or more after joining just a few servers. It is not clear when the full switch will happen, but the company hopes to put the new app into testing with users soon.

Read the original theverge.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page