4 ms·
> Microsoft's Visual Studio Code is built on similar foundations This is my understanding of things: - Electron is built on top of Chromium, where the techno
by sdesol 11y ago
> Microsoft's Visual Studio Code is built on similar foundations
This is my understanding of things:
- Electron is built on top of Chromium, where the technology was mainly driven by Google and their engineers.
- Vscode is based on Monaco which Erich Gamma and his team spear headed.
- Atom is based on work done by GitHub.
The analogy would be they both use Honda engines, but Microsoft appears to be able to use Honda's engine way more efficiently than GitHub.
- altano 11y agoNo this is pretty wrong. They are both built on Electron which is just the window shell hosted in Chrome. The actual text editors are completely different code bases that have nothing to do with each other. The better analogy would be they are both built using Honda doors, but they each have completely different engines.
- pyre 11y agoThe point is that if Electron itself (i.e. using Javascript and the DOM) was the issue then both would suffer.
- mintplant 11y agoYou might want to tweak the wording a bit - it reads like you're comparing Monaco to Electron, as if it were another app framework based on Chromium.
- pyre 11y agoSince both VS Code and Atom use Electron as a base, so if the basic premise of using JavaScript + the DOM to render a code editor / IDE were flawed (i.e. it could never be performant), then both systems would be having issues. This is what I was trying to state. If performance issues were fundamentally tied to the use of Electron, then you would see that manifest itself in both packages.
- mintplant 11y agoOops, I thought you had written sdesol's comment [1]. Sorry. [1] https://news.ycombinator.com/item?id=11493311 https://news.ycombinator.com/item?id=11493311
- deleted 11y ago[deleted]