Nemeski@piefed.social to Technology@lemmy.zipEnglish · 4 days agoDiscord is killing its Electron app that can eat 4GB of RAM on Windows 11, and the Rust rebuild uses just 290MBwww.windowslatest.comexternal-linkmessage-square81linkfedilinkarrow-up1353arrow-down15
arrow-up1348arrow-down1external-linkDiscord is killing its Electron app that can eat 4GB of RAM on Windows 11, and the Rust rebuild uses just 290MBwww.windowslatest.comNemeski@piefed.social to Technology@lemmy.zipEnglish · 4 days agomessage-square81linkfedilink
minus-squaresorter_plainview@lemmy.todaylinkfedilinkEnglisharrow-up30·edit-24 days agoThey 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
minus-squareRustySharp@programming.devlinkfedilinkEnglisharrow-up16arrow-down2·4 days agoIt’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?
minus-squareegregiousRac@piefed.sociallinkfedilinkEnglisharrow-up28·4 days agoIt’s a video player. You want GPU acceleration.
minus-squareVenia Silente@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up6arrow-down10·4 days agoWhat video? 99.99479% of my Discord experience is text.
minus-squareUnpledgedCatnapTipper@piefed.blahaj.zonelinkfedilinkEnglisharrow-up12·4 days agoA lot of people talk and stream to their friends. If I only needed a text app, I would not use discord at all.
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up5·3 days ago What video? 99.99479% of my Discord experience is text.
minus-squarehenfredemars@infosec.publinkfedilinkEnglisharrow-up2·4 days agoReally depends on the server. The servers I use are driving incredibly rich media: like animated images, video clips, and streaming.
minus-squareThe_Decryptor@aussie.zonelinkfedilinkEnglisharrow-up18·4 days ago But seriously, why do I need GPU acceleration for my chat UI? Because rendering things is quite literally the reason GPUs exist, it takes load off the CPU and is more efficient at it to boot.
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up7·4 days agoBecause without it UI changes create CPU spikes
minus-squareVibeSurgeon@piefed.sociallinkfedilinkEnglisharrow-up3·3 days agoIt 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.
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up3·3 days agoPeople use Discord for a lot of things. A lot of people use it to stream and watch streams.
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’s a video player. You want GPU acceleration.
What video? 99.99479% of my Discord experience is text.
A lot of people talk and stream to their friends. If I only needed a text app, I would not use discord at all.
Really depends on the server. The servers I use are driving incredibly rich media: like animated images, video clips, and streaming.
Because rendering things is quite literally the reason GPUs exist, it takes load off the CPU and is more efficient at it to boot.
Because without it UI changes create CPU spikes
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.
Do you like having battery?