540
I HATE electron (lemmy.ohaa.xyz)
submitted 11 months ago by Oha@lemmy.ohaa.xyz to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] fury@lemmy.world 43 points 11 months ago* (last edited 11 months ago)

ITT: some people are mad the web became the application platform of choice, in part due to handy dandy cross platform app tools like Electron and accessible languages like JavaScript.

There is no perfect answer. Qt isn't using the platform's native capabilities to the fullest extent either. Qt requires a "wrapper" too--all those libraries your app depends on, to name a few (unless you got a commercial license and are compiling statically, you rich devil).

Let's celebrate the onslaught of apps that work with Linux instead of trying to scare off developers any more than Linux already did. Make love not war. <3

In my experience, Electron and other "web wrapper" apps run just fine and I have enough CPU and RAM to run a dozen of them alongside my 50 browser tabs. Slack, Discord, VSCode, Teams, IRCCloud, it all works fine. Hardware is cheap compared to my time.

[-] 31337@sh.itjust.works 14 points 11 months ago

It always seemed over-complicated to me to use web technologies to create a desktop application and run it in what is essentially a browser. The tool-chain of modern web and electron apps also seems overly complicated to me (writing in a slightly different language then transpiling to an interpreted language).

I don't find JS any more accessible than any other language with automatic memory management. JS is actually a bit of mess due to bolting on new features while keeping backward compatibility.

I don't mind using electron apps. VS Code is pretty great.

I think Java Swing was the apex of desktop development :)

[-] Sir_Simon_Spamalot@lemmy.world 8 points 11 months ago

always seemed over-complicated

Technology-wise? Yes it is.

Development-wise? It actually makes dev process much simpler by making it grossly cross platform instead of having to care about little gotchas on each use case (which may or may not actually be popular. Not saying it's optimal, but as a developer myself, I say it makes a lot of sense.

[-] dx1@lemmy.world 4 points 11 months ago

It's a poor architectural choice, but making cross-platform apps is even more problematic with the current UI tooling out there. Too much fragmentation in the base OS's. If Mac moved to support Wayland or something like that, maybe we'd start getting somewhere.

[-] rdri@lemmy.world 4 points 11 months ago

So you got like 64 GB of RAM or something.

[-] fury@lemmy.world 2 points 11 months ago

16 on the machine I use the most at work. (MacBook Air M1)

Actually, 128 gigglebytes on my home PC, though. I upgraded so I could play pretty Minecraft.

[-] Viper_NZ@lemmy.nz 3 points 11 months ago

With you for the most part, except where you say the bloated, slow, unreliable, piece of crap Teams is fine..

this post was submitted on 18 Sep 2023
540 points (92.1% liked)

linuxmemes

20351 readers
999 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS