Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

why? I don't have a problem with it, building extensions for VS Code is pretty easy

Alternatives have a lot of features to implement to reach parity





Complaining about Electron is an ideological battle, not a practical argument. The people who push these arguments don’t care that it actually runs very well on even below average developer laptops, they think it should have been written in something native.

The word "developer" is doing a lot of work there spec-wise.

The extent to which electron apps run well depends on how many you're running and how much ram you had to spare.

When I complain about electron it has nothing to do with ideology, it's because I do run out of memory, and then I look at my process lists and see these apps using 10x as much as native equivalents.

And the worst part of wasting memory is that it hasn't changed much in price for quite a while. Current model memory has regularly been available for less than $4/GB since 2012, and as of a couple months ago you could get it for $2.50/GB. So even a 50% boost in use wipes out the savings since then. And sure the newer RAM is a lot faster, but that doesn't help me run multiple programs at the same time.


I regularly run 6+ electron apps on a M2 Air and notice no slowdown

2x as many chrome instances, no issues


Sure, 6 electron apps by themselves will eat some gigabytes and you won't notice the difference.

If you didn't have those gigabytes of memory sitting idle, you would notice. Either ugly swapping behaviors or programs just dying.

I use all my memory and can't add more, so electron causes me slowdowns regularly. Not constantly, but regularly, mostly when switching tasks.


> The word "developer" is doing a lot of work there spec-wise.

Visual Studio Code is a developer tool, so there’s no reason to complain about that.

I run multiple Electron apps at a time even on low spec machines and it’s fine. The amount of hypothetical complaining going on about this topic is getting silly.

You know these apps don’t literally need to have everything resident in RAM all the time, right?


> I run multiple Electron apps at a time even on low spec machines and it’s fine.

"Multiple" isn't too impressive when you compare that a blank windows install has more than a hundred processes going. Why accept bloat in some when it would break the computer if it was in all of them?

> Visual Studio Code is a developer tool, so there’s no reason to complain about that.

Even then, I don't see why developers should be forced to have better computers just to run things like editors. The point of a beefy computer is to do things like compile.

But most of what I'm stuck with Electron-wise is not developer tools.

> The amount of hypothetical complaining going on about this topic is getting silly.

I am complaining about REAL problems that happen to me often.

> You know these apps don’t literally need to have everything resident in RAM all the time, right?

Don't worry, I'm looking specifically at the working set that does need to stay resident for them to be responsive.


...so if you spend an extra $4 on your computer, you can get an extra GB of memory to run Electron in?

Here's the other unspoken issue: WHAT ELSE DO YOU NEED SO MUCH MEMORY FOR!?

When I use a computer, I am in the minority of users who run intensive stuff like a compiler or ML training run. That's still a minute portion of the total time I spend on my computer. You know what I always have open? A browser and a text editor.

Yes, they could use less memory. But I don't need them to use less memory, I need them to run quickly and smoothly because even a 64GB stick of RAM costs almost nothing compared to how much waiting for your browser sucks.


My motherboard does not support more memory. Closer to hundreds of dollars than $4. And no I will not justify my memory use to you.

And price is a pathetic excuse for bad work. RAM gets 50x cheaper and some devs think it's fine to use 50x as much of it making their app work? That's awful. That's why computers are still unresponsive half the time despite miracles of chipmaking.

Devs getting good computers compounds this problem too, when they get it to "fast enough" on their machine and stop touching it.

And memory being cheap is an especially bad justification when a program is used by many people. If you make 50 million people use $4 of RAM, that's a lot. Except half the time the OEM they bought the computer from charges $20 for that much extra RAM. Now the bloat's wasting a billion dollars.

And please remember that a lot of people have 4GB or 8GB and no way to replace it. Their apps move to electron and they can't run them all at once anymore? Awful.


> RAM gets 50x cheaper and some devs think it's fine to use 50x as much of it making their app work? That's awful.

That's ABSURD.

> That's why computers are still unresponsive half the time despite miracles of chipmaking.

Have you ever actually used VSCode? It's pretty snappy even on older hardware.

Of course, software can be written poorly and still fit in a small amount of memory, too :)

> Now the bloat's wasting a billion dollars.

Unless users had some other reason for buying a machine with a lot of RAM, like playing video games or compiling code.

Do you think most users spec their machines with the exact 4GB of RAM that it takes to run a single poorly-written Electron app?

> And please remember that a lot of people have 4GB or 8GB and no way to replace it. Their apps move to electron and they can't run them all at once anymore? Awful.

Dude, it's 2025.

I googled "cheapest smartphones India" and the first result was for the Xiaomi POCO F1. It has 8GB of RAM and costs ₹6,199 - about $62. That's a whole-ass _phone_, not just the RAM.

If you want to buy a single 8GB stick of DDR3? That's about $15 new.

> My motherboard does not support more memory. Closer to hundreds of dollars than $4.

If you are buying HUNDREDS of dollars of RAM, you are building a powerful system which almost certainly is sitting idle most of the time.

> And no I will not justify my memory use to you.

Nobody is forcing you to run an electron app, they're just not catering to this weird fetish for having lots of unused RAM all the time.


> That's ABSURD.

What is? The devs or my claim? There are apps that use stupid amounts of memory to do the same thing a windows 98 app could do.

And you can do good or bad within the framework of electron but the baseline starts off fat.

> Unless users had some other reason for buying a machine with a lot of RAM, like playing video games or compiling code.

If they want to do both at the same time, they need the extra. Things like music or chat apps are a constant load.

> Dude, it's 2025.

As recently as 2024 a baseline Mac came with 8GB. Soldered, so you can't buy a stick of anything.

> If you are buying HUNDREDS of dollars of RAM

Not hundreds of dollars of RAM, hundreds of dollars to get a different platform that accepts more RAM.

> Nobody is forcing you to run an electron app

I either don't get to use many programs and services, or I have to deal with these problems that they refuse to solve. So it's reasonable to complain even though I'm not forced.

> weird fetish for having lots of unused RAM

I have no idea why you think I'm asking for unused RAM.

When I run out, I don't mean that my free amount tipped below 10GB, I mean I ran out and things lag pretty badly while swapping, and without swap would have crashed entirely.


same people pushing rust as "it's just faster" without considering the complexities that exist outside the language that impact performance?

Ease of writing and testing extensions is actually the cause why Electron won IDE wars.

Microsoft made a great decision to jump on the trend and just pour money to lap Atom and such in optimization and polish.

Especially when you compare it to Microsoft effort for desktop. They acumulated several more or less component libraries over they years and I still prefer WinForms.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: