Discord migrates Android app to Rust to improve load times
Discord's technical leadership has demonstrated a new version of its Android application rewritten in Rust, showing significant performance gains on aging hardware.
Discord is transitioning its Android application to the Rust programming language as part of a broader effort to reduce resource consumption and improve startup times. Stanislav Vishnevskiy, co-founder and CTO of Discord, recently demonstrated the performance improvements by comparing the new Rust-based client against the legacy version.
Testing on a device equipped with a 2017 processor, the new client initiated in under one second and fully loaded within two seconds. In comparison, the existing client required three seconds to initiate and five seconds to load. The demonstration highlights the effectiveness of the architecture shift on lower-end hardware, which often struggles with the overhead of contemporary mobile applications.
This shift away from the previous Electron-based framework has already yielded significant reductions in the application's footprint. Reports indicate that the transition has reduced the overall installation size of the Discord client from 4 GB to approximately 290 MB, prioritizing efficiency in a market increasingly constrained by memory and storage costs.