Stream: git-wasmtime

Topic: wasmtime / PR #4205 Add dataflow processing to component ...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2022 at 20:36):

alexcrichton opened PR #4205 from env-for-lowered-imports to main:

This commit enhances the processing of components to track all the
dataflow for the processing of canon.lower'd functions. At the same
time this fills out a few other missing details to component processing
such as aliasing from some kinds of component instances and similar.

The major changes contained within this are the updates the info
submodule which has the AST of component type information. This has been
significantly refactored to prepare for representing lowered functions
and implementing those. The major change is from an Instantiation list
to an Initializer list which abstractly represents a few other
initialization actions.

This work is split off from my main work to implement component imports
of host functions. This is incomplete in the sense that it doesn't
actually finish everything necessary to define host functions and import
them into components. Instead this is only the changes necessary at the
translation layer (so far). Consequently this commit does not have tests
and also namely doesn't actually include the VMComponentContext
initialization and usage. The full body of work is still a bit too messy
to PR just yet so I'm hoping that this is a slimmed-down-enough piece to
adequately be reviewed.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2022 at 20:36):

alexcrichton requested fitzgen for a review on PR #4205.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2022 at 20:51):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 01 2022 at 21:27):

alexcrichton merged PR #4205.


Last updated: Dec 23 2024 at 13:07 UTC