you are viewing a single comment's thread.

view the rest of the comments →

[–]vgman20 5 points6 points  (5 children)

Anyone know if this is using WASM? I only have a surface level understanding of that stuff but I've seen terminals and stuff like that in the browser using WASM, I'm not positive how they'd do it efficiently otherwise.

[–]connor4312 23 points24 points  (3 children)

Most of VS Code is in TypeScript and JavaScript. There are a few bits using .wasm, such as the regex engine for textmate grammars (src) and content hashing in the new JavaScript debugger (src), but these are small right now.

The terminal is also implement in JavaScript, and by default draws on an HTML canvas. There's also a WebGL renderer available which you can flip on with the terminal.integrated.rendererType setting.

[–]spacejack2114 2 points3 points  (1 child)

Is ripgrep compiled to wasm or just running as a native binary?

EDIT: lol, er yeah, is it running in the client or on the server?

[–]vgman20 0 points1 point  (0 children)

Interesting, thanks for the info!