Stream: git-wasmtime

Topic: wasmtime / PR #8609 Change all WASI impls to being concre...


view this post on Zulip Wasmtime GitHub notifications bot (May 13 2024 at 20:07):

alexcrichton requested elliottt for a review on PR #8609.

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2024 at 20:07):

alexcrichton requested wasmtime-core-reviewers for a review on PR #8609.

view this post on Zulip Wasmtime GitHub notifications bot (May 13 2024 at 20:07):

alexcrichton opened PR #8609 from alexcrichton:refactor-wasi to bytecodealliance:main:

This commit builds on the support from #8448 to remove all blanket impls from the WASI crates and instead replace them with concrete impls. This is slightly functionally different from before where impls are now on trait objects meaning dynamic dispatch is involved where previously dynamic dispatch was used. That being said the perf hit here is expected to be negligible-to-nonexistent since the implementations are large enough that the dynamic dispatch won't be the hot path.

The motivations for this commit are:

<!--
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 (May 14 2024 at 17:36):

pchickey submitted PR review:

Love it!

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2024 at 18:09):

alexcrichton merged PR #8609.


Last updated: Oct 23 2024 at 20:03 UTC