News for hackers. Stuff that matters.
Re:Vscode.dev by JasonCannon on Wednesday October 20, 2021 @02:12PM (#28933949)
>Well, offline VSCode is a glorified browser as well.

Not really, it may use electron for the front end, but a huge amount of what makes vscode useful and fast is the native binaries that power all of its functionality.

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.
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.
Re:Vscode.dev by aozgaa on Wednesday October 20, 2021 @07:11PM (#28938075)
I think the typescript compiler and language service are implemented in typescript and compiled to JavaScript.
Re:Vscode.dev by pjmlp on Thursday October 21, 2021 @02:30AM (#28941085)
And none of them require Electron, because they run out of process.
Re:Vscode.dev by afiori on Thursday October 21, 2021 @03:14AM (#28941362)
well, the browser is not going to provide them.
Re:Vscode.dev by pjmlp on Thursday October 21, 2021 @04:02AM (#28941672)
The server backend will, and this is also a way to run VSCode on system browser without Electron bloat.
Re:Vscode.dev by Zababa on Thursday October 21, 2021 @02:24AM (#28941038)
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?

Re:Vscode.dev by coldtea on Thursday October 21, 2021 @05:17AM (#28942143)
>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.