Ask HN: What technical decisions make VS Code a better Electron app?
I was inspired by the recent article on how Slack (which is built with Electron) is a RAM hog, but I've always wondered how things were done differently when compared to Atom too.
2. They are not creating layers of JavaScript. They are using native code wherever necessary.
3. VS code has more control over what extensions can do so that they don't adversely affect the performance.
Technically they didn't do anything insane, the real trick is to measure test and improve metrics they care about and not let it become slow.
But there's also another promising project that uses monaco https://github.com/theia-ide/theia
I was quite surprised to see the right-click menu item "inspect element" open up a DOM-inspector of the entire app! I had not suspected it to be like that.