Re:Atom 1.9 and 1.10 beta
by omginternets on Monday August 01, 2016 @05:20PM
(#12206104)
Does it still use A Terabyte Of Memory ?
[ Parent
| on HN ]
Yes. I bought a new workstation to run Atom.
Why, doesn't everyone in their startup's SF office have a terabyte of memory? Why would someone have a computer less than $5000?
Re:Atom 1.9 and 1.10 beta
by randomsofr on Monday August 01, 2016 @05:27PM
(#12206160)
Unless they start using native code it will always be like that.
Re:Atom 1.9 and 1.10 beta
by halokonrad on Monday August 01, 2016 @05:59PM
(#12206388)
VSCode from Microsoft is also wrapped in electron and uses a fraction of what Atom is consuming.
Not being native has nothing to do here.
The memory consumption is a magnitude larger in JavaScript than native.
http://benchmarksgame.alioth.debian.org/u64/compare.php?lang...
So what?
There are javascript editors that don't use as much memory as atom. What you're saying is irrelevant.
So if this is hard to understand, the conclusion, in simple words:
the memory consumption for a javascript editor will be a magnitude bigger than native.
In my example 66Mb Sublime vs 620MB VS Code (no plugins)
halokonrad isn't talking about sublime. He's talking about Atom vs VS Code.
I went back to (non-native) emacs, partially due to this problem.
Emacs has tons of C code. And the display (and core text manipulation stuff IIRC) is not written in elisp.
In contrast, Atom just uses native code as the JIT, and then not only does (almost) everything in JS but also renders it with slow DOM.
Re:Atom 1.9 and 1.10 beta
by moosingin3space on Monday August 01, 2016 @10:37PM
(#12207527)
I'm looking forward to Guile Emacs, if it ever gets merged into mainline, because emacs will then have a JIT (and maybe we can then land things like real threads)