501

... and I can't even continue the chat from my phone.

you are viewing a single comment's thread
view the rest of the comments
[-] rdri@lemmy.world 1 points 5 months ago* (last edited 5 months ago)

You don't understand. This way if some app crashes it will not cause others to crash too.

This is how google introduced the "multiprocess architecture" of Chrome.

[-] 9point6@lemmy.world 13 points 5 months ago

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

[-] rdri@lemmy.world 3 points 5 months ago

I'd rather not have frameworks based on web browsers. Programming is not that difficult.

[-] 9point6@lemmy.world 4 points 5 months ago* (last edited 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.

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 desktop UI, they're going to do a much better job with their main skillset than something they have just learned.

[-] rdri@lemmy.world 1 points 5 months ago

but no one is going to become an expert in something overnight

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 2 points 5 months ago

It's not like they need to become experts

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.

But also that's actually possible

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:

especially with all the AI around.

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.

[-] rdri@lemmy.world 1 points 5 months ago* (last edited 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?

I failed to understand the meaning of this sentence. It doesn't make sense to me. Producing a better ui is not even on the table when we are talking ui frameworks and native programming - you use what's available, and if you are a graphics designer then maybe you should've sticked to that instead. Becoming expert in native ui is super cool but I wouldn't expect such miracles from everyone. Just producing a valid low level code is enough to meet my standards of performance. That's because those standards were heavily affected by web frameworks existence.

The reality is that the people paying the engineer are going to want the better UX

And I hoped it would be customers who would pay for a software or a service who would send valid feedback.

AI can assist you if you more-or-less know what you're doing

Assuming web devs creating apps don't know what they're doing?

but a novice replacing proper learning with ChatGPT pairing is going to write some shitty code.

Chances are that code would be much more optimized than anything electron/CEF wrapped.

to actually be up to our code quality standards

Quality standards are great. But seeing companies shipping fixes to simple CSS issues that were breaking some of main app functions made me realize most of them don't care about quality standards. If that's how it is and if there will still be a lot of broken stuff across app updates - might as well just go all the way to proper low level languages.

[-] gandalf_der_12te 2 points 5 months ago

Well obviously it is, or we wouldn't have electron in the first place.

[-] rdri@lemmy.world 1 points 5 months ago

We have it only because some devs are lazy.

this post was submitted on 12 Jun 2024
501 points (100.0% liked)

Mildly Infuriating

35576 readers
398 users here now

Home to all things "Mildly Infuriating" Not infuriating, not enraging. Mildly Infuriating. All posts should reflect that.

I want my day mildly ruined, not completely ruined. Please remember to refrain from reposting old content. If you post a post from reddit it is good practice to include a link and credit the OP. I'm not about stealing content!

It's just good to get something in this website for casual viewing whilst refreshing original content is added overtime.


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means: -No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...


7. Content should match the theme of this community.


-Content should be Mildly infuriating.

-At this time we permit content that is infuriating until an infuriating community is made available.

...


8. Reposting of Reddit content is permitted, try to credit the OC.


-Please consider crediting the OC when reposting content. A name of the user or a link to the original post is sufficient.

...

...


Also check out:

Partnered Communities:

1.Lemmy Review

2.Lemmy Be Wholesome

3.Lemmy Shitpost

4.No Stupid Questions

5.You Should Know

6.Credible Defense


Reach out to LillianVS for inclusion on the sidebar.

All communities included on the sidebar are to be made in compliance with the instance rules.

founded 1 year ago
MODERATORS