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.
http://benchmarksgame.alioth.debian.org/u64/compare.php?lang...
There are javascript editors that don't use as much memory as atom. What you're saying is irrelevant.
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)