3 ms·
Calling WASM from VS Code has been possible for a few years: https://john-millikin.com/extending-vscode-with-webassembly https://john-millikin.com/extending-vsc
by jmillikin 2y ago
Calling WASM from VS Code has been possible for a few years: https://john-millikin.com/extending-vscode-with-webassembly https://john-millikin.com/extending-vscode-with-webassembly
The news-worthy part of the link seems to be WASI support -- instead of coding against a C-style API with low-level primitives (shared memory), WASI enables higher-level bindings to be synthesized at runtime from WIT IDL.
Not sure I'd want to be building extensions against a v0.2 of a web specification, though. That's a pretty fast-moving target. It would be more reasonable once WASI has stabilized the FFI layer (maybe by reducing time spent on the pseudo-posix stuff).