News for hackers. Stuff that matters.
Re:Where’s all my CPU and memory gone? The answer: Slack by findjashua on Thursday July 27, 2017 @04:58PM (#14869452)
Given that Visual Studio Code is also built on Electron but poses none of the resource issues (in spite of being a much more complex application - ide v/s chat client), makes me think the problem lies with the application and not the platform
Re:Where’s all my CPU and memory gone? The answer: Slack by StevePerkins on Thursday July 27, 2017 @05:31PM (#14869793)
I like VS Code. However, people think it's "light" and "snappy" only because they're comparing it to Atom. IntelliJ feels pretty fast-loading and snappy when you put it head to head against Atom.

The reality is that Code takes multiple seconds to launch on my machine (a MacBook Pro with 16GB RAM), while GVim or Sublime or any native editor is subsecond. Granted, it does perform well enough once it's up and running. But startup time is probably an order of magnitude worse, and ongoing resource consumption even far less competitive.

Code shows that it's possible for a good Electron app to be better than a bad Electron app. But that's not a proof statement that Electron is in the same league is native.

Re:Where’s all my CPU and memory gone? The answer: Slack by abritinthebay on Thursday July 27, 2017 @06:29PM (#14870254)
> people think it's "light" and "snappy" only because they're comparing it to Atom

There's some truth to this, but I also prefer it to (my previous workhorse) Sublime. Which is a 100% native app, unlike Atom.

> The reality is that Code takes multiple seconds to launch on my machine (a MacBook Pro with 16GB RAM)

Something is wrong there, it really shouldn't. 1 second, maybe, if you're loading a large complex folder or something but unless you've got a crap ton of extensions I've never seen it be that slow.

Re:Where’s all my CPU and memory gone? The answer: Slack by reificator on Thursday July 27, 2017 @09:09PM (#14871137)
And aren't most extensions lazy loaded anyway?
Re:Where’s all my CPU and memory gone? The answer: Slack by abritinthebay on Friday July 28, 2017 @01:09PM (#14875767)
No idea but that would make sense.
Re:Where’s all my CPU and memory gone? The answer: Slack by quickthrower2 on Thursday July 27, 2017 @05:10PM (#14869576)
Yes but they probably worked their arses off and spent big bucks to get it to perform. And it's kind of a marketing product: one of Microsoft's catch-up-with-whats-hip initiatives. For the average shop just code native and get that performance for free.
Re:Where’s all my CPU and memory gone? The answer: Slack by int_19h on Thursday July 27, 2017 @05:56PM (#14869984)
It poses its own resource issues.

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