The more I read about VSCode and Electron apps in general, the more I'm convinced that all this effort is akin to putting lipstick on a pig. Modern CPU designs have all converged on multi-core as the solution to increasing performance, and yet on the software side of things... we've turned all of our desktop applications into Chrome instances running single-threaded event loops. That these extensions are even more po…
Speeding up VSCode extensions in 2022
31–40 of 40 posts
Re: Speeding up VSCode extensions in 2022
#32Earlier quoted context omitted.
It would be utterly shocking to me if VSCode isn’t using several worker threads for LSP, extensions, etc.
VS Code team member here. The diagram in the article is a little wrong, but the basics of it are: - The "main process" which manages the windows (renderer processes) - The renderer process" contains the UI thread for each window, the renderer process can have its own worker threads - The extension host loads extensions in proc, extensions are free to create their own threads/processes. The separate process for extens…
Re: Speeding up VSCode extensions in 2022
#33Earlier quoted context omitted.
VS Code team member here. The diagram in the article is a little wrong, but the basics of it are: - The "main process" which manages the windows (renderer processes) - The renderer process" contains the UI thread for each window, the renderer process can have its own worker threads - The extension host loads extensions in proc, extensions are free to create their own threads/processes. The separate process for extens…
Off topic: Is there a document/blog/article somewhere about the plugin architecture of VS Code? I'm less interested in developing a plugin (which google results usually yield) and more interested in, say, how VS Code determines the order in which plugins are called.
Re: Speeding up VSCode extensions in 2022
#34The more I read about VSCode and Electron apps in general, the more I'm convinced that all this effort is akin to putting lipstick on a pig. Modern CPU designs have all converged on multi-core as the solution to increasing performance, and yet on the software side of things... we've turned all of our desktop applications into Chrome instances running single-threaded event loops. That these extensions are even more po…
Re: Speeding up VSCode extensions in 2022
#35Can we stop with the "in 2022" headlines?
Re: Speeding up VSCode extensions in 2022
#36The more I read about VSCode and Electron apps in general, the more I'm convinced that all this effort is akin to putting lipstick on a pig. Modern CPU designs have all converged on multi-core as the solution to increasing performance, and yet on the software side of things... we've turned all of our desktop applications into Chrome instances running single-threaded event loops. That these extensions are even more po…
Re: Speeding up VSCode extensions in 2022
#37Re: Speeding up VSCode extensions in 2022
#38The more I read about VSCode and Electron apps in general, the more I'm convinced that all this effort is akin to putting lipstick on a pig. Modern CPU designs have all converged on multi-core as the solution to increasing performance, and yet on the software side of things... we've turned all of our desktop applications into Chrome instances running single-threaded event loops. That these extensions are even more po…
Multithreading isn't some magic thing you slap on to go faster. You'll find single-threaded event loops in all sorts of high-performance code, e.g game engines.
Re: Speeding up VSCode extensions in 2022
#39Re: Speeding up VSCode extensions in 2022
#40Earlier quoted context omitted.
Multithreading isn't some magic thing you slap on to go faster. You'll find single-threaded event loops in all sorts of high-performance code, e.g game engines.
Which high performance game engine is single threaded? To my knowledge they're all multithreaded and heavily pipelined.
VS Code is not single-threaded in general. It's event-loop is.