MediumDiscord’s 300 MB Rust Rewrite: Real Progress or Just a Promising Number? | by Naro | Nov, 2026 | Medium
Sitemap
Naro

Naro

Software developer & tech writer sharing practical insights on programming, AI, and modern software engineering.

Member-only story

Discord’s 300 MB Rust Rewrite: Real Progress or Just a Promising Number?

One tiny message, two very different foundations, and why a smaller memory number is only the beginning.

5 min read4 days ago

--

Press enter or click to view image in full size
A simple stick figure holds a small speech bubble that says “hello,” standing between a large, heavy truck labeled Electron and a small, fast car labeled Rust, with an arrow pointing from the truck to the car. The title reads “Discord Leaves Electron” and illustrates Discord’s move from Electron to a lighter Rust-based app.
AI-generated image created for illustration purposes.

Discord is rebuilding its desktop client in Rust, and Electron is on the way out. An early development build, shared by Discord’s CTO, reportedly uses roughly 300 megabytes of memory.

That number sounds great. But I think the better question is this: how do you make an app lighter while keeping voice calls, screen sharing, and everything people already depend on?

To answer it, let’s follow one tiny message through the old foundation and the new one, then make the job harder.

The Passenger: One Word, “hello”

Imagine a friend sends you a message: hello.

The app has to do three things. It stores the message, works out where it belongs in the conversation, and draws it on your screen. That is the whole job, and it looks tiny.

The Old Vehicle: Electron

Electron lets developers build desktop apps with HTML, CSS, and JavaScript, the same tools used to build websites. Under the hood:

  • Chromium provides the browser engine.

--

--

Naro
Naro

Written by Naro

Software developer & tech writer sharing practical insights on programming, AI, and modern software engineering.