News for hackers. Stuff that matters.
Re:24-core CPU and I can’t type an email – part two by bluejekyll on Thursday August 23, 2018 @09:09AM (#17826915)
I use VSCode (electron based) on a flight cross country regularly. I generally have enough power for the flight (4-5 hours), without much problem.

The memory usage hasn’t been bad enough for me to notice it stealing resources from other apps that need it. I don’t think most users notice.

I’m not talking about you. It’s clear this is a big deal to you, and so I assume you don’t use any electron apps. I think that’s a gamble most companies would make, losing a small number of users, to have the potential to gain many more.

Re:24-core CPU and I can’t type an email – part two by scarface74 on Thursday August 23, 2018 @09:12AM (#17826935)
Visual Studio Code = real work with a complicated set of features. I expect it to consume a fair amount of memory and battery life.

Slack - Shouldn’t.

Re:24-core CPU and I can’t type an email – part two by maltalex on Thursday August 23, 2018 @09:24AM (#17827022)
What makes VSCode more “real” in your opinion?
Re:24-core CPU and I can’t type an email – part two by icholy on Thursday August 23, 2018 @10:21AM (#17827463)
Re:24-core CPU and I can’t type an email – part two by kylel on Thursday August 23, 2018 @10:24AM (#17827482)
I think with Slack, the computational workload is just network I/O and rendering text and images. With VS Code, in addition to rendering text, there is code linting and compilation, which is more intensive.
Re:24-core CPU and I can’t type an email – part two by GordonS on Thursday August 23, 2018 @05:55PM (#17830987)
VSCode is like the poster child for Electron, Electron done right. I often bring up VSCode when people are hating on Electron here.

Yes, it's easy to make crappy memory hogs with Electron, but it's also possible to make fully-featured, snappy, great applications. Such as VSCode.

Re:24-core CPU and I can’t type an email – part two by mi100hael on Thursday August 23, 2018 @11:16AM (#17827939)
I'm pretty sure VSCode is actually React-Native, not Electron. So there isn't the overhead of a full Chrome instance like there is for Slack or Atom.
Re:24-core CPU and I can’t type an email – part two by acemarke on Thursday August 23, 2018 @11:27AM (#17828028)
I'm a React fanboy, but no. VS Code is definitely written on top of Electron, and as far as I know the codebase is entirely custom rather than using any kind of JS SPA framework.