this post was submitted on 11 Apr 2026
410 points (98.3% liked)

linuxmemes

31038 readers
719 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
    you are viewing a single comment's thread
    view the rest of the comments
    [–] slazer2au@lemmy.world 130 points 3 days ago (3 children)

    Because why go for native performance when you can go for minimum effort on all platforms.

    [–] grue@lemmy.world 62 points 3 days ago* (last edited 3 days ago) (2 children)

    When all you have is ~~a hammer~~ JavaScript, everything looks like a ~~nail~~ web page.

    Kids these days don't bother learning languages that actually compile to native apps.

    [–] atomicbocks@sh.itjust.works 43 points 3 days ago (2 children)

    All of my degree was in C, C++, C#, Java, etc. and the one class I had that did web applications did Java backends and middleware with PHP frontends. It wasn’t until I got into the industry that I had to learn Angular, Electron, React, Django, etc.

    I don’t think it’s the devs making these decisions.

    [–] AnExerciseInFalling@programming.dev 16 points 3 days ago (1 children)

    It's the minimum effort that translates to minimum time that translates to minimum cost for the business. Why hire another developer for a mobile app (or another platform) when you could just have the same web dev write it. Or without hiring another dev, why have the same dev need to build up tooling in another language when you can just reuse from the existing platform

    Exactly, that and the β€œwe are a [insert product name here] shop” mentality. The things I have had to fight for over the years are mind boggling.

    [–] 87Six@lemmy.zip 4 points 2 days ago (1 children)

    It is the devs. Management says they need it fast then the devs say "fuck you here's your browser tab app".

    I deam of a dev job that would let me actually write a good app..

    [–] 87Six@lemmy.zip 4 points 2 days ago

    To add insult to injury, the demands are often really unclear. Changing something in an electron app is often pretty straight forward. Not so much in a C# or especially C++ app

    [–] TrickDacy@lemmy.world 7 points 3 days ago (5 children)

    Because you want a cross platform solution?

    I get that electron can be slow, bloated, etc, but the amount of ire it draws is overboard.

    [–] Wispy2891@lemmy.world 23 points 3 days ago (2 children)

    Yes but sometimes, for example core parts of windows 11 like the start menu, don't need to be cross platform and should be native, not a pwa

    [–] BlackLaZoR@lemmy.world 9 points 3 days ago

    Especially since they had already native code in previous windows...

    [–] TrickDacy@lemmy.world 9 points 3 days ago

    Lol I mean I would never use windows 11 or defend that use of it. I'm just saying a valid use of electron is to target multiple platforms with minimal development hurdles.

    [–] MonkeMischief@lemmy.today 2 points 2 days ago

    the amount of ~~ire~~ CPU cycles / frames / watts it draws is overboard. Lol

    (Trying to be funny not aggressive lol)

    For real though, I think it's just because it epitomizes that "Hardware is fast now so throw sluggishly interpreted high-level code at it and don't even bother with optimization" mentality.

    Like I remember when people would bash Python over this, but Electron apps make that feel way overblown now.

    (Also Python did nothing wrong :( lol)

    [–] possiblylinux127@lemmy.zip 3 points 2 days ago (1 children)

    Electron is broken in implementation

    We need something like React native for desktop

    [–] TrickDacy@lemmy.world 2 points 2 days ago

    Yeah, something better is welcome for sure.

    [–] bhamlin@lemmy.world 9 points 3 days ago (3 children)

    Having built applications with Microsoft's mfc, Java's swing, the omnipresent Qt, and whatever nastiness Mac was using in the early 00's, electron is worth the silliness. Trust me. Trust me.

    [–] ChickenLadyLovesLife@lemmy.world 5 points 2 days ago* (last edited 2 days ago)

    the omnipresent Qt

    So weird. I spent more than two years of my career working on a Qt app (not by choice) but I've never met another human being who has ever even heard of Qt. Nothing else has ever made me so certain that I'm clinically insane.

    My favorite thing about Qt was the use of C++ for the back end and Javascript for the UI layer. It lets companies take advantage of the, uh, four people in the world who are good with both languages.

    [–] MonkeMischief@lemmy.today 2 points 2 days ago

    I'll admit I'm not versed enough as a developer to grasp this so I'll take your word for it.

    ... I'mma just build my cross platform programs in Godot and nobody can stop me. >:)

    Reminder to talk to your doctor about a colonoscopy

    [–] DmMacniel@feddit.org 4 points 3 days ago* (last edited 3 days ago) (2 children)

    Because different OSes follow different Human Interaction Guidelines and I expect that applications follow the native look and feel.

    [–] festnt@sh.itjust.works 5 points 3 days ago

    following every linux de/wm's interaction guidelines seems pretty hard

    [–] TrickDacy@lemmy.world 3 points 3 days ago

    Ok, seems like a separate issue. The question was why do this and I gave an answer. Doesn't mean it's wrong because you can find a reason not to do it.

    [–] SavvyBeardedFish@reddthat.com 3 points 3 days ago* (last edited 3 days ago) (4 children)

    Why have a consistent Wayland experience when each application can run it's own Electron version with varying degrees of enforced Wayland flags, and/or such an outdated Chromium version Wayland is just jank.

    Edit:

    Was trying to say that most of these CEF/Electron applications all need their own separate Wayland specific (Chromium) flags to have better Wayland support/integration. And the older Electron applications typically use an older Chromium as base, having even worse Wayland support... Was not trying to make this a "Wayland bad!" kind of post.

    TL;DR: Electron applications have wildly varying level of Wayland support/integration, don't have any Wayland issues other than specific CEF/Electron apps!

    [–] dan@upvote.au 25 points 3 days ago (1 children)

    Wayland isn't the problem. Chrome just doesn't behave well with it. I haven't had any Wayland-related issues with Firefox.

    [–] SavvyBeardedFish@reddthat.com 12 points 3 days ago* (last edited 3 days ago) (1 children)

    Yeah, maybe it was just badly worded by me...

    most (if not all) Wayland issues I currently have are related to Chromium, and especially CEF/Electron applications that are based on older Chromium versions. Weren't trying to say that this is an inherent Wayland issue, considering most of the applications works as expected.

    [–] dan@upvote.au 3 points 3 days ago* (last edited 3 days ago) (1 children)

    Ah I see. I understand now! I thought you may have been one of the people that is still saying X11 is superior, even though Wayland is very usable now.

    Ive been hitting weird issues in Chrome too, and had to disable GPU compositing to fix them. Unfortunately I have to use Chrome at work - we're not allowed to use other browsers, as only Chrome has the endpoint security functionality they require (provided by Chrome Enterprise Premium). No other browsers have or can provide the same features.

    [–] deadbeef79000@lemmy.nz 2 points 3 days ago (1 children)

    GPU composting

    That might be the problem.

    [–] dan@upvote.au 2 points 3 days ago
    [–] possiblylinux127@lemmy.zip 4 points 2 days ago (1 children)

    Electron should just be a wrapper for the local web browser.

    I think that's what Tauri is trying to do

    [–] Wildmimic@anarchist.nexus 7 points 3 days ago (2 children)

    Always that reflex against Wayland - as someone who has switched to Linux not so long ago i have a hard time with the mindset long time Linux users have against Wayland. I understand that it might be annoying if someone is used to his X-Server and that some tools that people are used to for a decade will get left behind. But as a new user I do not have anything negative to say about Wayland. It behaves nicely with my multi-monitor setup and VRR, has no issues with my Nvidia graphics card, and Xwayland covers tools that can't or won't migrate. Using Pipewire allows Steam Remote Play. In the year or so since i switched to Linux, the stability has changed from "it's ok, but annoys me sometimes" to "rock-solid".

    Y'all have to recognize that there is a new generation of Linux Users around, which does not have nostalgic feelings towards X, and for those Wayland is simply the normal way things run. Whining will not change that.

    The Wayland debate is the same as the systemd debate of 2015 minus the death threats.

    [–] SavvyBeardedFish@reddthat.com 2 points 3 days ago (1 children)

    Very much pro-Wayland in my case.

    Just saying that certain CEF/Electron apps (especially those running on older Chromium version) are what is causing certain Wayland specific issues, hence my issue is on the application side (Steam, Spotify etc.), not on Wayland's side... My bad for the badly worded post which made it seem like the classical "Wayland bad!" posts.

    I haven't touched X11/Xorg in years, nor am I planning on reverting back to it anytime.

    [–] Wildmimic@anarchist.nexus 3 points 3 days ago (1 children)

    I misread that, but it seems i am not the only one :-) We can agree on Electron being a lazy way of providing a program - I'll excuse it if it's a small game from a single dev, but everyone else should do it the right way.

    Overall a fair assessment! 🀝

    [–] semperverus@lemmy.world 1 points 3 days ago

    I think you're missing the point. What you said is a problem for sure, but that problem isn't related to what we are talking about here.