News for hackers. Stuff that matters.
Re:Every Windows 11 app should kill Electron, and Discord ju... by tekla on Saturday November 07, 2026 @08:08AM (#50404252)
The problem is that it made everyone's life worse.
Re:Every Windows 11 app should kill Electron, and Discord ju... by johnh-hn on Saturday November 07, 2026 @08:21AM (#50404352)
Not mine. I loathe Electron like many people. But, as someone who is legally blind and has very limited vision, being able to have custom UI zoom levels, per application, has made my life much easier.

For a long time, and mostly out of frustration, I wanted to build my own stack of software around my vision. But the mammoth amount of effort it would require meant I never went through with it.

Re:Every Windows 11 app should kill Electron, and Discord ju... by freecodeio on Saturday November 07, 2026 @08:41AM (#50404462)
nice point, people like to shit on the web but it has one of the biggest accessibility features that most of the gui frameworks would just leave them as feature suggestions for years
Re:Every Windows 11 app should kill Electron, and Discord ju... by hajile on Saturday November 07, 2026 @08:49AM (#50404504)
I'd note that as stuff like A11y gets added into something like Discord, we'll see the app slowly bloat up to compensate.

Google Chrome generally used around 25mb per tab in 2010. Today, that number is often 500mb or even 1gb.

Re:Every Windows 11 app should kill Electron, and Discord ju... by Ygg2 on Saturday November 07, 2026 @09:19AM (#50404754)
Would you really need 500mb for accessibility? Can't text to speech be outsourced to the OS or companion app?
Re:Every Windows 11 app should kill Electron, and Discord ju... by masfuerte on Saturday November 07, 2026 @09:54AM (#50405069)
And Windows apps had accessibility before computers had 25MB RAM in total. Accessibility is not the cause of bloat.
Re:Every Windows 11 app should kill Electron, and Discord ju... by freecodeio on Saturday November 07, 2026 @10:07AM (#50405176)
do any of these native GUI libraries provide just as rich accessibility experiences to disabled people?
Re:Every Windows 11 app should kill Electron, and Discord ju... by TJSomething on Saturday November 07, 2026 @04:03PM (#50408037)
If we mean native as in OS-specific GUI APIs built-in to the operating system, then yes. All of the browsers are abstractions on top of that. If we mean cross-platform GUI libraries for Rust I think your choices are like Tauri (which is a webview), Slint, and maybe Fltk with extensions?
Re:Every Windows 11 app should kill Electron, and Discord ju... by ethin on Saturday November 07, 2026 @07:39PM (#50409455)
Yes, yes they do. WXDragon for Rust, for example, provides quite good accessibility. And maybe accessibility would be better for frameworks like QT or DearImGUI if (1) people didn't act like the web was some paragon of accessibility (hint: it really, really isn't, not when websites misuse web APIs -- which happens quite frequently) and (2) UI framework developers didn't just make a UI framework that looked sexy but left accessibility on the floor.

What's oddly being ignored in this entire thread (so far, as of the time of writing) is that back in 2017-2018 Discord was an Electron app and was completely inaccessible. The web did not magically bring accessibility to the table -- we disabled people had to go yell at Discord to fix their shit, and even then it took them like 2-3 years, and even now Discord has some very very weird accessibility issues that will randomly crop up here and there.

Re:Every Windows 11 app should kill Electron, and Discord ju... by afdbcreid on Saturday November 07, 2026 @04:02PM (#50408024)
The article implies that a11y will exist on launch and maybe already is.

And it doesn't require that huge amount of RAM, no. What requires the Chrome RAM is running JavaScript and do it fast, and a lot of extremely complicated features, most of which a single app will never use.

Re:Every Windows 11 app should kill Electron, and Discord ju... by saagarjha on Saturday November 07, 2026 @11:56PM (#50410516)
This is mostly because websites have gotten heavier and we want them to run faster.
Re:Every Windows 11 app should kill Electron, and Discord ju... by hobo123 on Sunday November 08, 2026 @07:15AM (#50412599)
How much of that is due to chrome, and how much is because say Jira and YouTube are incredibly bloated?
Re:Every Windows 11 app should kill Electron, and Discord ju... by pjmlp on Saturday November 07, 2026 @03:43PM (#50407867)
All the native APIs across major platforms have accessibility features, how do you think browsers implement theirs?
Re:Every Windows 11 app should kill Electron, and Discord ju... by sitzkrieg on Saturday November 07, 2026 @08:08PM (#50409610)
i switched a cross platform application TO web stack for this reason. accessibility and screen reader usability is incredibly important and massively overlooked in many domains
Re:Every Windows 11 app should kill Electron, and Discord ju... by GoblinSlayer on Sunday November 08, 2026 @03:58AM (#50411538)
Already done. Windows has builtin font scaling capability, gtk has text only scaling.
Re:Every Windows 11 app should kill Electron, and Discord ju... by johnh-hn on Sunday November 08, 2026 @05:13AM (#50411919)
The Windows settings scale resources for the OS, not per application. The more applications you use, the worse these settings become. If I'm unable to use an application's own features to modify the size of something in its UI, I have to fall back to the Windows settings. That leads to the following:

1. Use the make everything bigger/font size settings to increase the size of what I currently can't see

2. Restart

3. Open every application I need, and go through every major feature in each of them to determine if I can still see things comfortably, while making sure no elements have exploded in size as this also leads to usability problems

4. If not, go to 1

I have to do this every time I install a new application, or one of them updates and changes their UI or decides to opt into the Windows accessibility settings. The latter one happened a few years ago with Firefox, and cost me a day to sort.

Re:Every Windows 11 app should kill Electron, and Discord ju... by Grombobulous on Saturday November 07, 2026 @08:36AM (#50404434)
The electron hate train needs to pull in to the station and be retired. We can just admit that it was a good solution for the problems of its time just like JQuery. Electron was conceived over a decade ago and it was an imperfect solution, but there’s no denying that it was a solution.

Election predates WebAssembly by 5 years and hit the scene only one year after Rust was first created.

And just like JQuery, its time is coming to a close as better frameworks are available now that weren’t available back then.

Re:Every Windows 11 app should kill Electron, and Discord ju... by s3p on Saturday November 07, 2026 @08:37AM (#50404442)
[delayed]
Re:Every Windows 11 app should kill Electron, and Discord ju... by Kuraj on Saturday November 07, 2026 @09:03AM (#50404624)
Noone is claiming that, though.

Discord isn't packaged as an Electron app simply because it pretends to be native, but because it has native parts that aren't available in the web version.

Re:Every Windows 11 app should kill Electron, and Discord ju... by Grombobulous on Saturday November 07, 2026 @09:07AM (#50404660)
Discord actually launched as a web app, and then moved to adding a desktop app, which has quite obviously become far more popular than visiting discordapp.com and using it in the browser.

Why do you think that is?

The funny part about this complaint is that you can literally just use the web app if you hate the desktop Electron app so much.

Re:Every Windows 11 app should kill Electron, and Discord ju... by bigstrat2003 on Saturday November 07, 2026 @02:54PM (#50407484)
> We can just admit that it was a good solution for the problems of its time just like JQuery.

We would be lying if we did that. Electron was never, ever a good solution. It was something solely used by devs who prioritized their own ease of work over the actual user experience, i.e. bad devs.

Re:Every Windows 11 app should kill Electron, and Discord ju... by kristiandupont on Saturday November 07, 2026 @03:09PM (#50407589)
Do you have an employer?
Re:Every Windows 11 app should kill Electron, and Discord ju... by rpdillon on Saturday November 07, 2026 @04:50PM (#50408363)
Its a straight-up business decision, generally made by MBAs and with advice from engineers and executed by the engineers. That's because it changes the shape of the org when you need a separate team for each platform, so any org where the benefit of doing so doesn't get articulated sufficiently, will end up with fewer devs covering more platforms.

Acting like this is a decision the ICs make is disconnected from why electron is so prevalent.

Re:Every Windows 11 app should kill Electron, and Discord ju... by Grombobulous on Saturday November 07, 2026 @05:10PM (#50408537)
If it’s so easy to provide a better user experience using something else besides Electron then logically you should be able to point to chat apps that won over more user adoption than Slack and Discord.

Someone would have been able to disrupt that market by making a much better chat app since Elecron is so bad for user experience.

Re:Every Windows 11 app should kill Electron, and Discord ju... by Brian_K_White on Saturday November 07, 2026 @03:01PM (#50407534)
It was never a good solution and there is no reason to ever stop calling a turd a turd.
Re:Every Windows 11 app should kill Electron, and Discord ju... by afdbcreid on Saturday November 07, 2026 @04:02PM (#50408031)
We could, if people would stop doing it today.
Re:Every Windows 11 app should kill Electron, and Discord ju... by hackernud3s on Saturday November 07, 2026 @05:08PM (#50408516)
I made a bunch of Electron apps in my time. I always tried to talk the client out of it. "Just make it a website" I would say. Still, there were times where it made sense.
Re:Every Windows 11 app should kill Electron, and Discord ju... by bee_rider on Saturday November 07, 2026 @05:09PM (#50408524)
Electron was an ok solution to the problem they were looking at, “how do I waste as much compute as possible.” Unfortunately it had the side effect of drawing a bunch of stuff on the screen.

Luckily in the modern era we have invented language models, which allow us to expend vast resources on text generation instead.

Re:Every Windows 11 app should kill Electron, and Discord ju... by pjmlp on Sunday November 08, 2026 @04:04AM (#50411570)
It was only a solution to Web developers that refused to learn anything else.