You don’t understand. Thia way if some app crashes it will not cause others to crash too.
This is how google introduced the “multiprocess architecture” of Chrome.
Comment on A fresh install of Signal takes up 410MB, blowing both Firefox and Chromium out of the water
9point6@lemmy.world 6 months ago
Like I know native apps are always better, but why doesn’t electron ship an installable runtime so we don’t have to have a shitload of inert chromium installs on one machine?
You don’t understand. Thia way if some app crashes it will not cause others to crash too.
This is how google introduced the “multiprocess architecture” of Chrome.
You can still have separate processes and everything else with a shared runtime, you just save having all this wasted storage with every application bringing its own bundled runtime.
.net or Java applications work in a similar way, one Java app crashing won’t take out another just because they’re sharing the same runtime
I’d rather not have frameworks based on web browsers. Programming is not that difficult.
For most uses of electron I’d agree, but if some engineers are going to use it anyway, I’d prefer the approach I’ve described.
Programming is not that difficult.
Learning how to do something in a new language and framework isn’t that tough, I agree, but no one is going to become an expert in something overnight. I don’t reckon many desktop native engineers are choosing electron unless they actually need it, so if you imagine the case of an expert web engineer building a UI, they’re going to do a much better job with their main skillset than something they have just learned.
Well obviously it is, or we wouldn’t have electron in the first place.
thepreciousboar@lemm.ee 6 months ago
May be, but I don’t think apps use it. Afaik Teams, Discord and such are all epectron apps, yet they have not much in term of dependencies and large install sizes, so they must ship with their own versions.