You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document how to use VS Code's component model tooling to use WASM services inside a VS Code extensions #157
With the component model tooling we now have an easy way to integrate WASM services into VS Code extensions. We should document this via samples and a blog post.
Nice, thanks! We'd like to expose functions to the JS side. Or maybe interoperate with VS Code APIs directly.
Not sure if those options will be covered, but I'll check the blog post once it's out.
Activity
lppedd commentedon Apr 27, 2024
Hey Dirk Bäumer (@dbaeumer)! We're interested in running some of our Kotlin code as WASM binaries in VSC.
Is this possible ATM? K/WASM requires GC.
dbaeumer commentedon Apr 29, 2024
Yes, stay tuned. There will be a blog post soon on how to do that. If the Kotlin code compiles to something that has only a main function (e.g. is more like a OS program) we have already support for it. See https://code.visualstudio.com/blogs/2023/06/05/vscode-wasm-wasi
lppedd commentedon Apr 29, 2024
Nice, thanks! We'd like to expose functions to the JS side. Or maybe interoperate with VS Code APIs directly.
Not sure if those options will be covered, but I'll check the blog post once it's out.
dbaeumer commentedon Apr 29, 2024
Both cases are covered.
lppedd commentedon Apr 29, 2024
Damn, VS Code on 🔥
dbaeumer commentedon May 13, 2024
The blog post is out: https://code.visualstudio.com/blogs/2024/05/08/wasm
lppedd commentedon May 13, 2024
Thanks Dirk Bäumer (@dbaeumer). Had a read already and everything makes sense.
Had my hopes too high for the "Full extension in Rust" part, but I guess waiting for the WASI spec is better (AFAIU 0.3 targets early/mid 2025).