3 ms·
I think it's because VSCode uses typescript and it had better plugin architecture. VSCode also uses lazy loading so doesn't initate everything at once you clic
by InGodsName 8y ago
I think it's because VSCode uses typescript and it had better plugin architecture.
VSCode also uses lazy loading so doesn't initate everything at once you click the launcher icon but does it progressively.
- fabiospampinato 8y agoVS Code doesn't provide direct DOM access to extensions authors, that's definitely a deciding factor. But a couple of years ago even simply writing inside Atom without using any extension felt sluggish to me. TypeScript gets downcompiled to JavaScript anyway, so I don't think that's directly a contributing factor, but maybe because of the type system they can spend less time debugging and more time optimizing.
- bitwize 8y agoIt's because much of the guts of VSCode is written in C++ and optimized. Because, you know, Microsoft.
- InGodsName 8y agoSo eletrons lets you code part of it in C++?
- fabiospampinato 8y agoYou can have native modules in Node.js, and you can use Node.js inside Electron.
- sime2009 8y agoNo it's not. The file searching code is in Rust (IIRC) and runs as an external process, but that is about it.