logoalt Hacker News

renehsz • today at 5:04 PM • 3 replies • view on HN

Electron needs to die.

But it's convenient. I can't really fault people for using it.


Replies

whh • today at 10:59 PM

I'd donate nails for its coffin. Sadly, making unique apps for each platform is just too hard when you're considering the minimum output to create value.

I dream of a day I can transpile a common view/controller language into executables for multiple platforms... without it sucking.

zamadatix • today at 7:36 PM

I think the biggest fault in Electron is not just that it's inefficient web tech but that it has no provision for shared instances between apps, instead foricing every app to be the one which only ever wants to use the EXACT locally bundled copy of Chromium+Node which should launch in isolation of any others. This isn't even something Electron needs to die and be replaced for, just an optional feature other similar tools have jumped on for years now.

I'm sure exact pinning is sometimes the real intended case for certain apps, as it is a value in certain ways, but I'd bet at least half the Electron apps I have running now would happily be using the same shared instance of the same LTS Chromium+Node if it were the out of the box behavior to be able to do so.

ragall • today at 10:19 PM

> I can't really fault people for using it.

We can and we should.