Remix.run Logo
Aurornis 2 hours ago

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.

Dylan16807 36 minutes ago | parent | next [-]

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.

verdverm 8 minutes ago | parent [-]

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

2x as many chrome instances, no issues

Dylan16807 a minute ago | parent [-]

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.

verdverm an hour ago | parent | prev [-]

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