News for hackers. Stuff that matters.
Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by hypertele-Xii on Friday March 05, 2021 @06:47PM (#26363779)
> If you don't use it, its value is almost zero

Yet if you use all of it, its value is also zero - to every other program on the same computer. Don't be a dick; Use what you need, not all you can.

Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by fouric on Saturday March 06, 2021 @09:24AM (#26367518)
This is ridiculous. 20 MB is so far from "all of it" on any modern computer that it makes me question if you're using something from the 90's. How are you even on Hacker News?

The reduction of the complex trade-off between memory use, CPU, disk, development environment, ease of deployment, and the dozen other variables that go into a choice like picking what toolkit to use to "don't be a dick" is so absurdly simplistic. It's a trade-off - not a single-axis "good or bad" decision.

Moreover, 20 MB of memory usage is going to be an acceptable trade-off for the majority of HN users, who skew webdev, not embedded.

Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by jcelerier on Sunday March 07, 2021 @05:27AM (#26374736)
> This is ridiculous. 20 MB is so far from "all of it" on any modern computer that it makes me question if you're using something from the 90's.

If I look at today's top seller computers in Amazon for my country (France, 6th economic power in the world), the top two models both come with 4G of RAM (a chromebook, and a win10). The windows one will already use ~2gigs just for the OS. That leaves 2 gigs of RAM for your apps.

And that's for computers being sold today - they will still be in use in five years.

Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by fouric on Sunday March 07, 2021 @07:45PM (#26381229)
Meanwhile, you can fit 100 20MB apps into 2GB. I've never seen a normal desktop user use more than 10 graphical applications at once. I've never used more than 20 at once myself.

It's pretty clear that 2O MB of RAM as baseline memory consumption for a graphical application (we're not talking about a runtime that might be used for a bunch of background processes - that would be an issue) is a non-issue for the vast majority of users of such programs.

Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by jcelerier on Monday March 08, 2021 @01:41AM (#26382856)
> you can fit 100 20MB apps into 2GB.

But if a browser like chrome already uses 1.5 gigs there will be a big difference between the app that uses 500 (your average electron app) and the app that uses 50 (your average Qt, GTK, ex, fltk... app). One will swap and make the whole system slow, the other not.

Re:Show HN: Svelte NodeGUI, a lightweight Electron alternati... by texasbigdata on Friday March 05, 2021 @10:19PM (#26364888)
Conversely, to the end user, if they could pick a bit more resources usage (knowing they can close your app, or heaven forbid uninstall it) versus an extra feature what should the dev team prioritise?