Re:Every Windows 11 app should kill Electron, and Discord ju...
by vazark on Sunday November 08, 2026 @05:38AM
(#50412047)
because native apps aren't slow. Businesses didn't want to spend money on redundant effort replicating the same feature for each platform. No matter how efficiently you use electron, it is fundamentally a browser and server in a strait jacket pretending to be app. That's why it's bloated/inefficient. The JS framework used in negligible in comparison.
Re:Every Windows 11 app should kill Electron, and Discord ju...
by Rohansi on Sunday November 08, 2026 @09:22AM
(#50413610)
Not as efficient as native, sure. But have you actually tested it?
If browsers were inherently slow why do plain HTML+CSS pages (no JS) run nicely? Then consider the fact that modern JS runtimes are competitive with ART (native Java/Kotlin apps on Android). Where is the main source of inefficiency?
Browsers are just another runtime - you can write inefficient code in anything, even native.
Everyone always blames the browser. Why don't we blame [insert native app framework] for apps being slow too?
Everyone builds web apps using bloated frameworks and don't spend time optimizing any of their code. I wonder how much more efficient they could've made the Discord client without getting rid of Electron, just for a more meaningful comparison.