dicej edited PR #11123.
dicej edited PR #11123:
This pulls in the latest Component Model async ABI code from the
wasip3-prototypingrepo, including various API refactors and spec updates.This includes all the changes to the
wasmtimecrate fromwasip3-prototyping_except_ that theconcurrentsubmodule and child submodules contain only non-functional stubs. A follow-up PR will contain the realconcurrentimplementation.Note that this builds on https://github.com/bytecodealliance/wasmtime/pull/11114
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
dicej edited PR #11123:
This pulls in the latest Component Model async ABI code from the
wasip3-prototypingrepo, including various API refactors and spec updates.This includes all the changes to the
wasmtimecrate fromwasip3-prototyping_except_ that theconcurrentsubmodule and child submodules contain only non-functional stubs. A follow-up PR will contain the realconcurrentimplementation.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
dicej updated PR #11123.
dicej has marked PR #11123 as ready for review.
dicej requested wasmtime-wasi-reviewers for a review on PR #11123.
dicej requested wasmtime-fuzz-reviewers for a review on PR #11123.
dicej requested alexcrichton for a review on PR #11123.
dicej requested wasmtime-core-reviewers for a review on PR #11123.
dicej requested wasmtime-default-reviewers for a review on PR #11123.
I believe I've addressed all the feedback so far (except for the
Optionsquestion, which I'll need clarification on).
dicej updated PR #11123.
dicej submitted PR review.
dicej created PR review comment:
Nevermind, I understand the confusion now, and just pushed an update.
dicej updated PR #11123.
dicej updated PR #11123.
dicej updated PR #11123.
dicej edited a comment on PR #11123:
I believe I've addressed all the feedback so far
(except for the.Optionsquestion, which I'll need clarification on)
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton commented on PR #11123:
@dicej ok I've reviewed everything except
func.rs,func/host.rs, andfunc/typed.rsin this PR. I've made quite a few changes myself which I'd appreciate if you could read over as well to confirm you're ok with and such. I think that's enough async for me for today so I'm going to restart reviewing these file tomorrow.
Thanks, @alexcrichton! Your changes so far look reasonable to me.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton commented on PR #11123:
@dicej ok https://github.com/bytecodealliance/wasmtime/pull/11123/commits/cba8a799d9f6584286081fe7b553f3c93d7d1b22 is the culmination of my attempt to keep
Params: 'staticout of this the async impl. That's functionally inert in this PR and won't get activated until the next PR. With that I'm going to calltyped.rsandfunc.rsdone. I'm still concerned about the two different paths through the code but this seems about as good as we can get it for now so I think it's best to tackle that in the next PR, and/or as a follow-up in the future.I ran out of time to get to the rest of
host.rstoday, but I'll work on benchmarking tomorrow and scanning throughhost.rs.
dicej submitted PR review.
dicej created PR review comment:
This part is definitely critical.
dicej created PR review comment:
// which removes `prepared.task` from the store to ensure that the
dicej created PR review comment:
// future of the outer function (we're in an `async fn`) so it'll
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Yeah my thinking is that this'll be easier to write up in the next PR once
concurrent.rsis filled out
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton commented on PR #11123:
Benchmarking update:
As-is this PR yields these numbers in the preexisting
call.rsbenchmarks:<details>

</details>
not amazing, not awful.
I ran
./benches/wasmtime-serve-rps.shand saw no measurable difference with before/after.
alexcrichton updated PR #11123.
alexcrichton updated PR #11123.
alexcrichton submitted PR review:
Ok @dicej I'm comfortable with everything here. Mind giving it another once-over on your end to confirm too? If you're ok with it all feel free to enqueue for merge.
alexcrichton commented on PR #11123:
I'll say I was originally planning to squash everything into one commit but we had some merge commits along the way which makes that slightly annoying so I'm content to let github merges figure out how to squash it instead.
alexcrichton commented on PR #11123:
(also, to reiterate, thank you again for being patient with my review on this!)
Thanks for persisting with this, @alexcrichton! Your changes look good to me.
dicej merged PR #11123.
Last updated: Dec 06 2025 at 06:05 UTC