News for hackers. Stuff that matters.
Re:Electron 4.0.0 by diminoten on Friday December 21, 2018 @11:50AM (#18734538)
Who doesn't have 150MB to spare?

This laptop has 16GB, why are people hemming and hawing over 150MB???

Re:Electron 4.0.0 by goldfeld on Friday December 21, 2018 @12:04PM (#18734631)
I use some old laptops, the light one I'm using now (good for python dev) has 2GB. The reasonable option (bulky, heats up) has 4GB, the dev rig which I'm not using because age defects are showing up has 6GB. I don't use Chrome because my proliferation of tabs locks it up. Firefox manages fine (must have over 600 tabs open but FF loads just the current tabstrip bufferized segment.) Technology should be efficient in bad conditions.
Re:Electron 4.0.0 by jf- on Friday December 21, 2018 @12:19PM (#18734732)
I don’t think it’s reasonable to expect modern software to perform on hardware that’s 5+ years old. The standard ram for midrange laptops now is what, 8gb? At some point you just have to upgrade.
Re:Electron 4.0.0 by epidemian on Friday December 21, 2018 @12:39PM (#18734906)
> I don’t think it’s reasonable to expect modern software to perform on hardware that’s 5+ years old.

Why not? If the hardware still works fine, unless we're doing something intrinsically more complex, i don't see a reason why it shouldn't work :S

Re:Electron 4.0.0 by jf- on Friday December 21, 2018 @12:45PM (#18734971)
Because it holds back innovations, which is what we’re talking about.
Re:Electron 4.0.0 by Tom4hawk on Saturday December 22, 2018 @08:53AM (#18740560)
It's one thing when more resources allows you to do something that was not possible without them and entirely different thing when you need to throw gigabytes and gigahertz at programs offering less (because minimalism!!!1111!1). What innovations Electron brings to the table? That web devs can now not only bloat websites but also desktop apps?

More resources should mean that I can do things that were not possible before, or that I can do more things at the same time and not that I can do less because someone is to lazy to learn something new.

Re:Electron 4.0.0 by diminoten on Friday December 21, 2018 @03:26PM (#18736313)
You can tell when the average viewer of this site learned to program by how irrationally clingy they are to things like the concept of memory management.

It used to matter a lot more, when those people were learning, so now it has to still matter!!!111oneoneeleven

Re:Electron 4.0.0 by goldfeld on Friday December 21, 2018 @03:52PM (#18736543)
I'm sure those people are laughing at new grad's chugging Atom/VS Codes while they vim away in cultivated peace.
Re:Electron 4.0.0 by goldfeld on Friday December 21, 2018 @03:49PM (#18736519)
Wow, this grandiose "modern software" must be making people's morning coffee and eating their lunch to boot then!
Re:Electron 4.0.0 by jf- on Friday December 21, 2018 @03:55PM (#18736568)
One day I'm sure we'll all have our own robot butlers, but right now it's mainly just allowing software to be made faster and cheaper.
Re:Electron 4.0.0 by bunnycorn on Saturday December 22, 2018 @02:07AM (#18739390)
Laptops cheaper than $500 come with 8GB of RAM.
Re:Electron 4.0.0 by Tom4hawk on Saturday December 22, 2018 @08:57AM (#18740581)
So what? If apps use more ram/cpu it means that I can use less of them.
Re:Electron 4.0.0 by bunnycorn on Saturday December 22, 2018 @01:45PM (#18741868)
Then we should stick to Apps like those of the Commodore 64 days, and have thousands of them all open at the same time?
Re:Electron 4.0.0 by agildehaus on Friday December 21, 2018 @12:06PM (#18734647)
> This laptop has 16GB

Okay? Having a lot of memory does not mean a program should be wasteful, nor does it mean everyone has that.

Re:Electron 4.0.0 by vmchale on Friday December 21, 2018 @03:48PM (#18736510)
In fact, many/most computers these days have 8GB of RAM.

And in any case, less RAM usage usually means less cache thrashing which in turn means acceptable performance.

Re:Electron 4.0.0 by diminoten on Friday December 21, 2018 @01:48PM (#18735529)
Yes, it actually does, because it redefines wasteful, and the availability of many-GB computers means a lot of people do have access.

This isn't 2008, we don't need to care about 150MB like we used to.

Re:Electron 4.0.0 by Camto on Saturday December 22, 2018 @04:08PM (#18742455)
> many-GB computers

Most computers nowadays have 4/8GB, it's not that much memory compared to how much Electron uses.

Re:Electron 4.0.0 by vmchale on Friday December 21, 2018 @03:47PM (#18736503)
> because it redefines wasteful

how do people write shit like this and not realize how blatantly user-hostile they are??

Re:Electron 4.0.0 by diminoten on Saturday December 22, 2018 @01:37PM (#18741823)
Because it's not user hostile at all?
Re:Electron 4.0.0 by agildehaus on Friday December 28, 2018 @09:52AM (#18777004)
Remind me never to hire you.
Re:Electron 4.0.0 by agildehaus on Sunday December 23, 2018 @07:37AM (#18745757)
If you have legitimate reason for using 150MB. Developer laziness is NOT a legitimate reason.
Re:Electron 4.0.0 by hyder_m29 on Friday December 21, 2018 @11:58AM (#18734580)
A lot of electron apps (like Slack) could well use over 1GB.
Re:Electron 4.0.0 by diminoten on Friday December 21, 2018 @03:26PM (#18736322)
So I guess I can only run ~16 instances of Slack. Damn...
Re:Electron 4.0.0 by arama471 on Friday December 21, 2018 @04:06PM (#18736645)
But that implies you _only_ run Slack.
Re:Electron 4.0.0 by leppr on Friday December 21, 2018 @05:08PM (#18737134)
That means a $1k+ computer with Linux can only run 16 Slack instances. If you're on Windows and aren't as wealthy, the count goes down to 5.

Soon you have to micromanage your computer resources instead of purely focusing on work.

Re:Electron 4.0.0 by diminoten on Saturday December 22, 2018 @01:38PM (#18741826)
~5 Slacks! Oh, my! How will the proletariat survive?!?!

And yes, obviously if your computer is less powerful you can do less with it. Are you trying to argue that computers are classist because they don't work the same for poor people?

Re:Electron 4.0.0 by leppr on Tuesday December 25, 2018 @04:19PM (#18759266)
My 1st point is the same everyone criticizing performance bloat is trying to make: running our software in such inefficient way, even though we can, is not good. We could accomplish way more for the users if the underlying stack didn't by default eat so much of our performance budget.

The 2nd point is simply that unless you're only targeting upper class and tech savvy users, 16 free Gb of RAM will not be your baseline.