vscode use webassembly

Created on 12 Apr 2017  路  7Comments  路  Source: microsoft/vscode

Vscode will use webassembly to improve the implementation of the application speed, webassembly standard is not already officially released!

It seems that nodejs 8 will be the first to introduce webassembly;

Hope to answer the next question, thank you, if you have caused trouble, very sorry

under-discussion

Most helpful comment

I'm wondering if there was any progress here, especially on extensions written in WebAssembly. It would be interesting to have an example.

All 7 comments

This is unlikely to happen soon, mostly because 99% of our code is written in TypeScript which compiles to JavaScript which is a language built around garbage collection. The first version of webassembly doesn't have garbage collection (afaik) making it very hard to compile JS to it. Situation is different for code written in C et al

@jrieken Electron inside the issue has been in the mention of the support of the webassembly. Visual support a quarter or so to support the latest version of electron.

https://github.com/electron/electron/issues/9235

According to the exact source of information, Nodejs 8 will support webassembly;

I believe that when the speed of vscode can speed up a lot, thank you

FYI @alexandrudima

@crper WebAssembly support should become available when VSCode updates to electron 1.7 or newer. Then extension authors or MS themselves could start using WebAssembly if desired.

Your request seemed to be about application speed. If you report specific speed issues, people will be better able to try to fix them (whether that is by using WebAssembly, or otherwise).

could you give us a performance comparison after WebAssembly get used in VSCode?

Do we have a sample of writing extension in webassembly?

I'm wondering if there was any progress here, especially on extensions written in WebAssembly. It would be interesting to have an example.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

borekb picture borekb  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

sirius1024 picture sirius1024  路  3Comments

villiv picture villiv  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments