Re:Every Windows 11 app should kill Electron, and Discord ju...
by neya on Sunday November 08, 2026 @08:30AM
(#50413173)
You can optimize all you want, but if your foundation is a pack of cards, you're not going very far. JavaScript is not a solid foundation to build anything on. It's a language that should have been extinct long ago along with internet explorer. But, people kept trying to save it - adding abstraction on top of abstraction, even languages on top of it (coffeescript, typescript) just to get it to work at the baseline of a decent language. It's the only language that is forced upon us. If browsers gave us options to use other languages, it would and should've been long been dead.
[ Parent
| on HN ]
Re:Every Windows 11 app should kill Electron, and Discord ju...
by gloosx on Sunday November 08, 2026 @08:53AM
(#50413400)
If javascript is not a solid foundation to build anything on, then how come everything is built on top of it? It's the language powering the whole web, and people went really really far with it. Besides that, almost every major programming language can now run in the browser via webassemly, which solves problems in the areas where javascript is lacking raw performace.
Re:Every Windows 11 app should kill Electron, and Discord ju...
by Rumple22Stilk on Sunday November 08, 2026 @09:20AM
(#50413596)
Because you have no choice?
Re:Every Windows 11 app should kill Electron, and Discord ju...
by pdimitar on Sunday November 08, 2026 @09:35AM
(#50413713)
Your parent comment already answered that.
You're mistaking "JS is forced on people and they have no choice but to make it work" with "it's everywhere so it must be good".
Re:Every Windows 11 app should kill Electron, and Discord ju...
by neya on Sunday November 08, 2026 @09:48AM
(#50413813)
> how come everything is built on top of it
Can you share something else they could've built everything else on top of, instead? Yeah, that's what I thought.
Do you really think a normal junior dev is going to be/should be writing web assembly code to build a basic portfolio website?
Re:Every Windows 11 app should kill Electron, and Discord ju...
by katbyte on Sunday November 08, 2026 @09:52AM
(#50413839)
> how come everything is built on top of it
Everything is not built on top of it.
> It's the language powering the whole web
It’s also not powering the whole web, just a significant part of the client frontend inside browsers.