Re:Vscode.dev
by Zababa on Wednesday October 20, 2021 @02:56PM
(#28934620)
What are those native binaries? I know that VSCode ships with ripgrep, but that's the limit of my knowledge. Those binaries probably could be compiled to WASM to make VSCode fully run in a browser too.
[ Parent
| on HN ]
Re:Vscode.dev
by JasonCannon on Wednesday October 20, 2021 @06:16PM
(#28937523)
The Language Servers that power all of the intellisense and syntax highlighting and stuff are all native code. As are the compilers and everything that make VSCode more than just a text editor.
I think the typescript compiler and language service are implemented in typescript and compiled to JavaScript.
And none of them require Electron, because they run out of process.
well, the browser is not going to provide them.
The server backend will, and this is also a way to run VSCode on system browser without Electron bloat.
Good points, you still have to rely on an OS for all that stuff.
Re:Vscode.dev
by charrondev on Wednesday October 20, 2021 @10:24PM
(#28939537)
Language servers for any non JavaScript language? Python, rust, Go, C++, and many more.
Additionally the ability to say.. start a web server and run it? The ability to run the actual generated binaries from any of those other languages?
>Additionally the ability to say.. start a web server and run it? The ability to run the actual generated binaries from any of those other languages?
You could trivially had those with VSCode in the browser. They just run on a remote build/CI/CD environment.