Remix.run Logo
bslaq 6 days ago

You would be hard-pressed today to find computers with less than 8 GB of RAM. 300 MB is 3.66% of 8 GB of RAM. Which, again, is absolutely nothing.

Okay, let's assume you have a computer with 4 GB of RAM. Still 7.32%. That is low.

dotnet00 6 days ago | parent | next [-]

This attitude is dumb, people don't just have one thing open on their machine at a time.

If you're designing software like a music player (that is, something people are likely to want to keep running in the background while doing other things), you're just giving people a reason to switch to something else by taking up a bunch of memory carelessly, as it'll be one of the first things to go when the user needs the memory.

j1elo 5 days ago | parent [-]

Definitely it has become a selection criteria when picking tools. Electron? I don't care what a developer uses, nor how fun it was to use. I care about end results.

But to be fair. An Open Source project done in someone's free time for the love of it and shared freely in the wild as a humble contribution to humanity for the price tag of a Like in a forum, really should use whatever the author feels like using, as long as they don't treat it as a product and attempt to market it like it was done with care for anything but the developer's ergonomy. For what is worth, it could be made of Minecraft Redstone if the author feels like it, and nobody can judge them for it.

socalgal2 6 days ago | parent | prev | next [-]

I just went to amazon and typed in "windows laptop". The first two listed had 4gig ram

In order it was 4,4,16,8,16,4,8,16,4,16,32,8,16,4,32

9 of them were under $300

My dad had some really crap HP Celeron desktop. I don't remember it if had 4gig or more but I do remember it took 3 to 4 minutes of swapping continuously just to boot up and run all the crapware that HP had launch on startup in Windows.

That said, I'm not anti-electron. Here's some native app sizes

https://news.ycombinator.com/item?id=44690856

dijit 6 days ago | parent | prev | next [-]

The overwhelming number of personal computing devices in active use are <4GiB of ram, and with operating systems following your reasoning too: less and less is available for applications.

Stop being greedy, even if it existed as you say, externalising your development cost by having higher runtime requirements is a mild form of resource exploitation for profit.

j1elo 5 days ago | parent | prev | next [-]

This might sound contradictory, but I agree with you. 300 MB is nothing!

Problem is, when the music player takes 500 (let's be honest those 300 were probably just a cold-start and before actually doing anything with it), the collaboration chat app takes another <let me check...> 650 MB (Slack right now for me), the profile loader I need for work is <checking again...> another 400. The text editor is 510 MB (VSCode, and still that is a well engineered and optimized Electron marble). The Pomodoro timer, 300 MB.

And on top of that I'm supposed to do my actual work! All that junk is stealing memory that should be available to Visual Studio and compiling my huge code base.

Hopefully we don't end up with Electron calculators, calendars, email clients, file browsers, and image editors, because those things also tend to be open long term in my desktop (which right now I can do without any second thought about being able to, because they are all properly done as decently optimized GUIs)

const_cast 5 days ago | parent | prev | next [-]

Except 8 GB of ram is really more like 3 because Windows uses 5 to do nothing. And then Chrome uses a couple more gigs. And then Lord have mercy if you have outlook.

So that's, like, two programs open and were already running out of memory.

jansper39 5 days ago | parent [-]

I've just booted a fresh install of Win11 in Azure and it's sitting at 2.8GB with 2GB in the cache. Not all that bad.

chneu 6 days ago | parent | prev | next [-]

Missing the point. When developers dont have to give a shit about resource usage it can become a problem. When every app is using way more ram/memory than necessary it starts to add up.

This is why modern programs and games can barely run on modern hardware in many circumstances. There is no incentive for devs to be efficient.

It's not one program using a lot of memory. It's 45 of them all using way more than they need to. It adds up.

hsbauauvhabzb 6 days ago | parent | prev | next [-]

I have 48gb of ram and memory consumption issues.

6 days ago | parent | prev [-]
[deleted]