Stream: git-wasmtime

Topic: wasmtime / PR #12123 [coop-threading] Track concurrent st...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 10:15):

TartanLlama opened PR #12123 from TartanLlama:sy/sync-multithreading to bytecodealliance:main:

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 10:17):

TartanLlama edited PR #12123:

Threads are currently not created on sync->sync export calls, sync host->guest calls, and module-level start function calls. This PR adds support to this for all of these.

Fixes #11954

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 10:31):

TartanLlama updated PR #12123.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 10:53):

TartanLlama updated PR #12123.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 11:02):

TartanLlama updated PR #12123.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 11:17):

TartanLlama updated PR #12123.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 11:25):

TartanLlama updated PR #12123.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 11:28):

TartanLlama edited PR #12123:

Threads are currently not created on sync->sync export calls, sync host->guest calls, and module-level start function calls. This PR adds support to this for all of these.

I added a component-model-async feature to wasmtime-environ so that sync->sync adapters are compiled as they were originally for wasip2 code, avoiding changing performance characteristics.

Fixes #11954

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 11:29):

TartanLlama edited PR #12123:

Threads are currently not created on sync->sync export calls, sync host->guest calls, and module-level start function calls. This PR adds support to this for all of these.

I added a component-model-async feature to wasmtime-environ so that sync->sync adapters are compiled as they were originally for wasip2 code, avoiding changing performance characteristics.

Rather than use the existing prepare_call + start_call machinery, I introduced sync_to_sync_enter/exit_call intrinsics to avoid adding additional host frames to the stack for sync calls

Fixes #11954

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 11:31):

TartanLlama updated PR #12123.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 12:23):

TartanLlama updated PR #12123.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 12:28):

TartanLlama updated PR #12123.


Last updated: Dec 06 2025 at 07:03 UTC