fitzgen opened issue #15151:
Follow up to https://github.com/bytecodealliance/wasmtime/pull/15034#pullrequestreview-5772622118
I am not sure what exactly it means to have lazy threads in a build configuration where we do not have CM tasks.
@alexcrichton, perhaps you can provide more details about you're thinking here...
alexcrichton commented on issue #15151:
Ah sorry, but my thinking here is that whatever we call the deferred thing, be it task, thread, or whatever, the logic @fitzgen you're adding in #15034 to the eventual goal of "transfer a borrow without going to the host" is equally applicable both with and without component-model-async. I don't really care what we call the thing that's setup in JIT code itself, but in my mind there's no reason for the optimization to only be applicable in the async-compiled runtime.
alexcrichton added the performance label to Issue #15151.
alexcrichton added the wasm-proposal:component-model label to Issue #15151.
Last updated: Nov 19 2026 at 20:05 UTC