5 ms·
Yes they have architected it so well that it performs amazingly well. The plugin architecture is well done too. The memory consumption goes up only when the plu
by vijaybritto 6y ago
Yes they have architected it so well that it performs amazingly well. The plugin architecture is well done too. The memory consumption goes up only when the plugins consume more memory as all of them run in separate processes. In the future, I'm thinking that they might start to replace parts of the app with WASM and make it even more performant. But I'm pretty sure it's not going to be the entire application.
Nevertheless, they have a somewhat easy path to migrate in the form of AssemblyScript which is a subset of Typescript that compiles to webassembly. The future of VScode is exciting!!
- WorldMaker 6y agoOne of the performance details noted in the last update's release notes was that RegEx library specifically used by the syntax highlighting engine was a native dependency on desktop and a slightly slower WASM dependency on the web, and they improved the WASM bindings enough specifically for the syntax highlighter that now all platforms are using the custom WASM build. Performance details in the release notes are really interesting to follow.
- vijaybritto 6y agocan you please give a link to the PR? I cant find it
- WorldMaker 6y agohttps://code.visualstudio.com/updates/v1_45#_faster-syntax-highlighting https://code.visualstudio.com/updates/v1_45#_faster-syntax-h... https://github.com/microsoft/vscode/pull/95958 https://github.com/microsoft/vscode/pull/95958
- vijaybritto 6y agoThanks a tonne!!