r/technology • u/Mountain_Till_5868 • 26d ago
Social Media Every Windows 11 app should kill Electron, and Discord just showed why: no “Starting” screen and 70% less RAM, even with two accounts signed in
https://www.windowslatest.com/2026/11/06/every-windows-11-app-should-kill-electron-and-discord-just-showed-why-no-starting-screen-and-70-less-ram-even-with-two-accounts-signed-in/
2.9k
Upvotes
381
u/No-Snow-7618 26d ago
the native vs portable app wars will never end lol.
but it’s always been a no-brainer that native apps run faster. the trade off was always development speed and portability.
1.4k
u/Zak_InGeniusPrep 26d ago •
Discord is a chat app, and Electron is the toolkit a lot of desktop apps are built with. Not you, the article just skipped the basics.
Discord is text, voice and video chat organized into "servers," which are basically group chat rooms. It started with gamers and now all kinds of communities use it.
Electron lets developers build a desktop app out of the same stuff websites are made of. The catch is that every Electron app quietly bundles its own copy of the Chrome browser engine. So if you have Slack, VS Code and Discord open, you're kind of running three extra browsers in the background. That's where the high memory use and the "Starting..." splash screen come from.
The article's point is that when an app drops Electron and uses the operating system's own building blocks instead, it opens faster and uses a lot less memory.
129
u/Quintuplin 26d ago
The Electron era was strong because web devs moving into desktop apps wanted transferrable skills. That came with terrible performance, but RAM was cheap and development times accelerated.
Now, RAM isn't cheap, and AI makes building a native desktop client easy. The equation has changed. I'm glad to see it in some ways, not so much in others, just noting that Electron has a place where it used to fit, but probably won't for much longer
16
u/0sko59fds24 26d ago
Please Figma go Native
59
u/rahvan 26d ago
Every time I open up Discord and BitWarden on Windows 11, I am incentivized to get up from my chair and come back 5 minutes later, because it physically raises my blood pressure to see how slow these Electron-backed apps load.
6
u/Zatujit 23d ago
The problem is not that it runs faster, the problem is that it is cheapier ans easier to get webdev to do the job
5
u/roodammy44 26d ago
Great that discord is reducing their resources for us.
The only reason people use electron in the first place is because it’s really really easy for developers to use.
A forked and obscure rust ui framework is like the utter opposite for ease of use for developers. I wonder if they are going to be causing problems for themselves in the future. They are basically staking the future of the company on unproven tech.
4
u/Abject-Kitchen3198 26d ago
That's shocking discovery.
4
u/scheb 26d ago
At least we’re finally going to be able to leave electron behind….hopefully this age of 8GB ram laptops does it!
16
u/Mixter_Master 26d ago edited 26d ago
"downloads and updates in the background instead of when launching the app"
Sounds like a background process running at device startup, not a true cold start.
I disable all apps from auto launch. If I don't manually launch a process, it is unwelcome on my systems.
If this is just faster because it's doing the updating earlier as a background process, I am not that convinced it'll be monumentally faster on a true cold start.
I won't be upset if it is truly faster, but I won't accept it adding auto launch services on my system.
(Somehow controversial -_-)
13
u/VileTouch 26d ago
Steam next, please
7
u/Several_Ant_9867 26d ago
Windows support Progressive Web Apps that can be added to the desktop. They can launch offline and use the installed browser. No need to package a web app on an Electron container
2
u/PIODOWPAY 26d ago
Se Deus quiser eles hão de acabar!
2
u/frame_limit 23d ago
didnt take long for people to warm back up to discord, huh
2
u/rostol 26d ago
shocking ... having a whole chrome browser to run your web app is inefficient ?
who knew?
fucking everyone.
1
u/erfg12 26d ago
Use Avalonia or Maui if you plan on using C#. Resources will be so much lower. If you want to use C++ or Rust you’ve got lots of options too.
Just don’t bother with Electron, its not a good idea.
1
u/susimposter6969 24d ago
What would be interesting is if all these election apps could share the chrome browser
-1
u/kitne_aadmi_the3 26d ago
Every window's user should kill windows and shift Linux or Mac
0
u/Historical-Lion6552 26d ago
I remember browsing internet over 20 years ago when it was such a lively place. It's not my nostalgia but an experience shared by others. I think a large part of why internet spurred so much creativity and uniqueness was the tooling available namely flash. Despite all the hysteria about resource usage, flash worked flawlessly on computer with as little ram as 128mb. I think it was the politically motivated attacks by apple and co. which killed flash. Competing big corporation only wanted control of delivery platform. Html5 was promoted as a replacement, touted as open standard when no entity backing it cared about open standard. It was a incoherent mess without proper tools like flash builder for regular folks. Everyone resorted to injecting large 18mb JS frameworks into their websites as replacement. The internet and, consequently, the browser began bloating up.
What, I think, should have happened was flash should have been open sourced and accepted as iso standard a la pdf.
-11
u/ElysiumSprouts 26d ago
Articles like this make me feel old. I read the whole thing and I still don't understand what they're talking about. It assumed I'd know what words like "electron" and "discord" mean. I know what the words mean, but also they clearly don't mean what I think they mean.
-2
u/slightly_drifting 26d ago
Electron blows ass anyway. “Everything JS” is bad.
-16
u/[deleted] 26d ago
one of the nice things about ai is that our software is gonna become incredibly optimized in a few years
-7
u/mlghty 26d ago
Shouldn’t happen Electron is basically chromium, so basically the argument here you are using web tech for chat which is already done?? This is a dumb article, not only was discord infra first made before ai, but the take away hereditary should be the lessons learned from discord not that electron is bad.
4
u/maqbeq 26d ago
They should kill electron in MS teams too