Comment on A fresh install of Signal takes up 410MB, blowing both Firefox and Chromium out of the water
9point6@lemmy.world 5 months agoYou 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
rdri@lemmy.world 5 months ago
I’d rather not have frameworks based on web browsers. Programming is not that difficult.
9point6@lemmy.world 5 months ago
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.
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.
rdri@lemmy.world 5 months ago
It’s not like they need to become experts. But also that’s actually possible (at least the effects of that), especially with all the AI around.
9point6@lemmy.world 5 months ago
I mean if they would produce a better UI by using their expertise, how would not becoming an expert in the new thing be better? The reality is that the people paying the engineer are going to want the better UX over the benefits of not using electron in most cases.
Respectfully, no it’s not, not with software engineering unless you’re talking about learning a simple library or something.
If someone can genuinely master something in a day it wasn’t much of a skill to begin with.
I’ve been in this industry for about 20 years now, I would find it very hard to believe an engineer who says they’ve gone from no knowledge to expert in a new framework/language in any short period of time. I would either assume they’re trying to pull a fast one or more charitably just in the “naively confident” phase of learning:
Image
AI can assist you if you more-or-less know what you’re doing, but a novice replacing proper learning with ChatGPT pairing is going to write some shitty code. I use AI in my role semi-regularly, and in my experience, no model has consistently produced me anything (non-boilerplate) longer than a couple of lines that didn’t need some kind of refactor for it to actually be up to our code quality standards. Sometimes you see them spit out some ancient way of doing things that have been outright replaced by a more modern approach, if you don’t have the experience, you’ll not know any better.
gandalf_der_12te@lemmy.blahaj.zone 5 months ago
Well obviously it is, or we wouldn’t have electron in the first place.
rdri@lemmy.world 5 months ago
We have it only because some devs are lazy.