Comment on Discord is killing its Electron app that can eat 4GB of RAM on Windows 11, and the Rust rebuild uses just 290MB
You are viewing one comment and its replies. View all comments · View the comment above
You are viewing one comment and its replies. View all comments · View the comment above
Comments
They are using GPUI. Rust native UI framework from the Zed IDE team. I think the creator of Zed is the one who created Electron in the first place, then left. I’m not sure though.
So it should be cross platform
It’s a bold strategy. “Electron sucks! Let’s see what else these people made”.
But seriously, why do I need GPU acceleration for my chat UI?
It doesn’t hurt to have the component that is optimized for drawing things to the screen be a bit more involved in drawing things to the screen.
Strictly speaking necessary? No. Does it hurt? Not at all.
People use Discord for a lot of things. A lot of people use it to stream and watch streams.
Because without it UI changes create CPU spikes
Do you like having battery?
It’s a video player. You want GPU acceleration.
What video? 99.99479% of my Discord experience is text.
Really depends on the server. The servers I use are driving incredibly rich media: like animated images, video clips, and streaming.
A lot of people talk and stream to their friends. If I only needed a text app, I would not use discord at all.
Sign in to comment. Sign in