News for hackers. Stuff that matters.
Re:Show HN: Sciter and Node.js versus Electron by c-smile on Sunday December 23, 2018 @08:13PM (#18749584)
That's true. Better is to compare https://html-notepad.com application. It's size is even smaller as it does not include V8.

I mean that Visual Code has way more scripts to support different languages but these are text, highly compressible, files. In any case they are not loaded all at once but RAM consumption is still 6 times more than it could be for that type of application.

Re:Show HN: Sciter and Node.js versus Electron by aetherspawn on Sunday December 23, 2018 @09:55PM (#18749969)
VSCode has a richer UI, more functionality and of course supports extensions, source control etc by default. It just does a whole lot more. I think you’d be better off comparing with an actual port of the example compiled for each engine.
Re:Show HN: Sciter and Node.js versus Electron by c-smile on Sunday December 23, 2018 @10:51PM (#18750198)
Check Typora Markdown editor: https://typora.io/ - it is a markdown editor made with Electron.

It has as sort of WYSIWYG editor as markdown source editing so it is conceptually close to html-notepad.

All basic ratios are the same - it consumes RAM 4-5 times more than it should. Same with distribution size and size on disk.

Yet I think that it will be fair to compare Sublime Text and Visual Code as they have close functionality. Sublime (has its own DOM and uses script for plugins) consumes 10 times less RAM than Visual Code.

Each Electron application is a full scale browser with its own JS VM instance and Node.js that is full scale web server with another instance of JS VM. It is just that for communication they use IPC rather than HTTP.

As many E applications you are running as many browsers and servers you have in memory. That is by Electron's design - nothing new here.