Update Wasmtime's available features and how they are accessed#313
Update Wasmtime's available features and how they are accessed#313sbc100 merged 1 commit intoWebAssembly:mainfrom
Conversation
Wasmtime now has support for the threads proposal; this change adds that. It also uses the correct `--wasm-features` flag for enabling optional features.
|
cc: @RReverser, @sbc100? |
| "signExtensions": true, | ||
| "simd": "0.33", | ||
| "threads": null | ||
| "threads": ["flag", "Requires flag `--wasm-features=threads`"], |
There was a problem hiding this comment.
SyntaxError: Expected double-quoted property name in JSON at position 5855
The trailing comma is breaking the site.
There was a problem hiding this comment.
Ok, I opened #315 that solely fixes the flag syntax. Let's figure out what to do about the thread proposal line below...
|
Also we intentionally kept N/A ( I don't think anything changed in WASI in that regard yet? |
|
My understanding of But wasmtime is certainly going to support threads eventually, and it makes sense for it to do so considering its use cases for running Wasm on backend servers. So IMHO even though the API design isn't there yet, from a user's standpoint, I feel "currently not supported" would be a more fitting description. |
This was a part of the reverted WebAssembly#313; this provides the correct flag syntax for several off-by-default features.
|
@RReverser, @andylizi: I think this cell in the roadmap table indicates support for the Wasm threads proposal, which consists of shared memory, atomic operations, and But there's more: I (and others) have been working on a WASI proposal to add a mechanism for spawning threads in WASI--wasi-threads. Wasmtime is just now gaining support for that (I'm working through several details) as is WAMR. There are many questions here and everything is very experimental, but I'm just pointing out that there is an in-progress way to spawn threads. IMHO I don't think this needs to play a large part in how the cell is filled in (that seems a "does the engine implement the Wasm proposal?" question) but it may change the equation for you all. Thoughts? |
This was a part of the reverted #313; this provides the correct flag syntax for several off-by-default features.
Wasmtime now has support for the threads proposal; this change adds that. It also uses the correct
--wasm-featuresflag for enabling optional features.