34
top 47 comments
sorted by: hot top controversial new old
[-] slazer2au@lemmy.world 9 points 1 month ago

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

[-] grue@lemmy.world 8 points 1 month ago* (last edited 1 month ago)

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 6 points 1 month ago

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.

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

[-] 87Six@lemmy.zip 1 points 1 month ago

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 1 points 1 month 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

[-] possiblylinux127@lemmy.zip -1 points 1 month ago* (last edited 1 month ago)

Let's get you to bed grandma

[-] TrickDacy@lemmy.world 1 points 1 month ago

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 2 points 1 month ago

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

[-] bhamlin@lemmy.world 2 points 1 month ago

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 0 points 1 month ago* (last edited 1 month 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.

[-] bhamlin@lemmy.world 1 points 1 month ago

Hah! Yeah, qt has some really neat interfacing. And it is in so many places you wouldn't expect it to be...

[-] InternetCitizen2@lemmy.world -1 points 1 month ago

Reminder to talk to your doctor about a colonoscopy

[-] bhamlin@lemmy.world 0 points 1 month ago

Ugh. Cancel reminder, ready to take my chances with rectal cancer...

[-] InternetCitizen2@lemmy.world 1 points 1 month ago

Understandable

[-] possiblylinux127@lemmy.zip 1 points 1 month ago

Electron is broken in implementation

We need something like React native for desktop

[-] TrickDacy@lemmy.world 1 points 1 month ago

Yeah, something better is welcome for sure.

[-] DmMacniel@feddit.org 0 points 1 month ago* (last edited 1 month ago)

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

[-] TrickDacy@lemmy.world 1 points 1 month 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.

[-] festnt@sh.itjust.works 1 points 1 month ago

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

[-] SavvyBeardedFish@reddthat.com 1 points 1 month ago* (last edited 1 month ago)

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 2 points 1 month ago

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

[-] Wildmimic@anarchist.nexus 1 points 1 month ago

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.

[-] Eat_Your_Paisley@lemmy.world 1 points 1 month ago

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

[-] possiblylinux127@lemmy.zip 1 points 1 month ago

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

[-] SavvyBeardedFish@reddthat.com 2 points 1 month ago

I think that's what Tauri is trying to do

[-] PM_ME_VINTAGE_30S@anarchist.nexus 6 points 1 month ago
[-] yetAnotherUser@lemmy.ca 3 points 1 month ago

This edit is really well done.

[-] uuj8za@piefed.social 2 points 1 month ago

I know it's easy to dunk on Electron... but have any of yall written any desktop apps with native frameworks? I wrote a small GTK4+Vala app once and I discovered desktop frameworks are very different than developing webapps. Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you're not supposed to customize it.) Web development is waaaaaaaay more friendly towards customization. Which as a company, you want your app to look like your company, not some generic OS bundled app.

And then you have to repeat all that effort for crappleOS and Wangblows?... And then you gotta hope that it's even possible to do the thing you want in different OSes. Sheesh.

I mean, I'd be happy if everything was native apps, but I also understand why people don't tend to choose that route.

[-] chunes@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

Which as a company, you want your app to look like your company, not some generic OS bundled app

Consistency of UI used to be treasured.

[-] GreyEyedGhost@piefed.ca 2 points 1 month ago* (last edited 1 month ago)

Once upon a time, we differentiated our apps based on their capabilities and gave them a consistent interface so people who knew how to use Windows|Linux|MacOS apps would already be familiar with how they operated. Now we differentiate on looks/user experience, and many of them aren't capable at all.

[-] paraphrand@lemmy.world 1 points 1 month ago

People took the wrong lessons from beautiful GUI design. Anyone who felt it was just aesthetics missed the point. It wasn’t just flashy UI on what boils down to a database.

[-] possiblylinux127@lemmy.zip 1 points 1 month ago* (last edited 1 month ago)

Honesty Electron is fine as a concept

The problem lies with the implementation. I see no reason why many of these apps couldn't just be links to a website.

[-] zr0@lemmy.dbzer0.com 1 points 1 month ago

I get that it sucks. Are there any alternatives, where I have one codebase for all platforms?

[-] ikidd@lemmy.world 1 points 1 month ago
[-] possiblylinux127@lemmy.zip 0 points 1 month ago* (last edited 1 month ago)

It depends on what you are trying to do

Qt isn't bad and runs cross platform

[-] zr0@lemmy.dbzer0.com 0 points 1 month ago

Oh my, I just had to puke a little bit.

[-] possiblylinux127@lemmy.zip 0 points 1 month ago

It depends on what you are doing

[-] zr0@lemmy.dbzer0.com 1 points 1 month ago

I was joking. Qt has its place and can be useful. But I believe the days of non-web based, rich clients is over. Because Qt is not really “platform independent” anymore. When Qt was invented, only GNU/Linux, OSX and Windows existed. Now we have mobile phones, tablets, ultrabooks/chromebooks, much more powerful browsers, smart watches. That’s why Qt is not something I would prefer, as I need my apps to run literally everywhere

[-] DmMacniel@feddit.org -1 points 1 month ago

Have you heard of Java? Or any other language that abstracts away the GUI gluecode. Or don't just even go electron and provide a web app instead.

[-] dreamkeeper@literature.cafe 1 points 1 month ago

Java apps are even worse than electron. Not to mention you need to install Java to run them.

[-] irelephant@lemmy.dbzer0.com 1 points 1 month ago

Everyone should have to make one native app before being allowed to make fun of electron/webviews.

[-] ooterness@lemmy.world 5 points 1 month ago

Counterpoint: Every developer should have to test their app on a machine with 1 GB of RAM and a dialup modem before inflicting their bloat on the rest of the world.

[-] paraphrand@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

I just tried doing some work on a convention center WiFi connection in a small town. And it was clear the software I was using had no concept of slow internet. No progress bars on downloads, no resuming when connections dropped.

Everything just assumes max performance and fast network.

works on my machine

[-] webkitten@piefed.social 1 points 1 month ago* (last edited 1 month ago)

What are you talking about? I love having five apps all download the same 20mb node libraries each running their own Chrome sandbox processes all because they can't share them amongst themselves.

[-] IEatDaFeesh@lemmy.world 1 points 1 month ago
[-] merdaverse@lemmy.zip 1 points 1 month ago

Meanwhile, I have to install my third freedesktop 1GB dependency for 4 flatpak apps. What I wouldn't give for a slim 100mb electron package... All my electron apps as appimages are less than 1gb total.

But hey, at least native apps are so much faster. I have to get out an atomic clock to really see those microseconds that Zed is saving me compared to VSCode. You can even use the extra battery you gain to do one extra Rust compilation from scratch!

this post was submitted on 11 Apr 2026
34 points (100.0% liked)

linuxmemes

31531 readers
330 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