News for hackers. Stuff that matters.
Re:Electron 2.0.0 beta by dvfjsdhgfv on Thursday February 22, 2018 @08:18AM (#16437321)
> As much as HN hates Electron

It's not that "HN hates Electron", but some competent programmers, especially ones who have experience creating desktop apps, point out that Electron apps are huge resource hogs. It's not about having an opinion, rather stating a fact.

Re:Electron 2.0.0 beta by thiht on Thursday February 22, 2018 @08:26AM (#16437351)
Yeah, and Electron programmers and users are incompetent. Very constructive.

Maybe these competent developers don't realize that lots of users don't care if their app use 100-200mo on an 8Go laptop. Nor do they realize that memory usage is one indicator among a few others that are as or more relevant to the various contexts: productivity, talent pool, cost, maintenance, etc. Trade-offs have to be made, Electron is one.

Re:Electron 2.0.0 beta by dx034 on Thursday February 22, 2018 @08:40AM (#16437430)
It's not that users don't care. They just stop using it at some point. Most people don't know about memory or processor speed but that doesn't mean they will keep using a program that slows down everything on the computer.

In the work environment (non-tech) I experienced several times that people complained about bad usability and apps slowing down the computer. More often than not, those were Electron apps. But the standard corporate solution is to just upgrade computers to 32gb ram and even faster processors. Not sure if the faster development speed in Electron still saves money then.

Don't get me wrong, I think Electron is generally a great idea. VSCode works great. Similar to websites, slow performance is rarely a fault of the underlying technology, it's a result of programmers not caring about performance.

Re:Electron 2.0.0 beta by kitsunesoba on Thursday February 22, 2018 @11:05AM (#16438505)
And this is why front end/electron devs should do at least half of their work on low spec/5+ yo machines. If your product is aimed at the average end consumer, you’re locking out or making life hard for quite a number of users if you approach resource consumption in such a nonchalant manner. Not everybody has 8GB+ quad core machines! There are lots of dual core machines with RAM somewhere south of 4GB still in active use every day.
Re:Electron 2.0.0 beta by tonyarkles on Thursday February 22, 2018 @05:07PM (#16441926)
Funny enough, I've got a 2013 (?) Mac Mini with 8GB of RAM and a 2560xwhatever monitor. It's good enough for the vast majority of the development work I do, whether it's HTML/JS/CSS stuff, or iOS stuff, or Elixir projects, or C/C++ projects, or whatever.

Unless I've got Slack, Keybase, Spotify, etc open. Those just cripple the machine. Also Outlook, but I recently replaced it with Thunderbird and it seems to run much better. I find that my complaints are mostly met with accusations of being an old man (I'm 34...).

Re:Electron 2.0.0 beta by nottorp on Thursday February 22, 2018 @10:13AM (#16438044)
Where are those 100-200 MO apps? The Electron apps i run because i have to are more in the 500+ M range...
Re:Electron 2.0.0 beta by rootlocus on Thursday February 22, 2018 @10:21AM (#16438106)
To be fair, Discord only uses 150 - 250mb on my windows machine during regular usage like text chat, gif meme sharing and even youtube video streaming.
Re:Electron 2.0.0 beta by nkkollaw on Thursday February 22, 2018 @06:31PM (#16442619)
This means nothing.

Native apps cost 10 times more and take a lot longer to build since you have to build 3 versions instead of 1.

So..?