Hey, what's the state of this issue? It doesn't seem to have had any updates at all: https://github.com/bytecodealliance/wasmtime/issues/888
I personally need a way to call into WASM from two different threads at the same time. Don't care about threads on the WASM side that much, just need to be able to call into a two different functions on different threads at the same time.
If you need to call two separate wasm instances, that's safe to do so long as they're within different Store
objects. Otherwise you can't share a Store
or anything within (including an Instance
) across threads
at this time the threads proposal for wasm isn't fully implemented in Wasmtime, namely shared memories are not implemented
No, need specifically the same memory.
ah ok, yes that is not currently supported in wasmtime
Any guess at when it might be? That is, should I look for a different solution or is it something planned for the nearish future?
I don't believe there's a schedule yet to implement this, but this also would likely be a "modest" amount of work, it's not a huge project to implement in Wasmtime
I figured maybe WAMR's AoT would serve me better for this, but it's failing to run anything...
Is there a chat anywhere for WAMR?
@Wang Xin is the person to talk to
Last updated: Nov 22 2024 at 17:03 UTC