Stream: wasmtime

Topic: compatibility matrix update


view this post on Zulip Mossaka (Joe) (May 01 2023 at 22:37):

Hi there, I found that the compatibility matrix to be extremely useful when working with components. Since there is a major version release every month for wasmtime, I wonder how often do we see the compatibility matrix gets updated?

https://bytecodealliance.org/articles/component-model-tooling-compatibility

Here at the Bytecode Alliance, we are very excited about the potential of the WebAssembly Component Model proposal and we understand that many of you are actively exploring ways to build solutions that use WebAssembly components as well!

view this post on Zulip Mossaka (Joe) (May 01 2023 at 22:41):

I would also suggest to add a new column to the matrix called "Examples" and add some example repos showing how everything fitting together.

I'd like to use this repo as an example to demonstrate, given a world file, how to implement a host in rust, and a guest in Go and Rust, and run a HTTP server.

This template will help you start writing a wasm component in TinyGo / Go! - GitHub - Mossaka/wit-bindgen-go-template: This template will help you start writing a wasm component in TinyGo / Go!

view this post on Zulip Peter Huene (May 01 2023 at 22:49):

The intention is to do it every month or so, but I think we're going to need more contributors to updating the matrix to do it with a regular cadence; it's not as easy as just updating a list of versions as there's a heck of a lot of repositories that need updating all at once to at least attempt to synchronize on the underlying dependencies (specifically, wasm-tools and wasi preview2). The markdown for that blog post is here, which we can copy into future posts and tweak the variables.

Contribute to bytecodealliance/bytecodealliance.org development by creating an account on GitHub.

view this post on Zulip Peter Huene (May 01 2023 at 22:49):

I don't have the time right now to update it

view this post on Zulip Mossaka (Joe) (May 01 2023 at 22:57):

Thanks for the link to the repo. Well I am certainly interested in helping out updating the matrix, but I need to know more about how you were able to verify the compatibility among these projects in the first place. I could imagine that you ran some tests in the repos and verify that they all work as expected. I wonder if there are some "global" projects that you use to verify all the dependencies were synchronized and working.

view this post on Zulip Mossaka (Joe) (May 01 2023 at 23:23):

I tried to find a rev of host that could work with wasmtime 8.0.0 but unfortunately it seems like newer commits depend on wasmtime 9 and older commits depend on wasmtime 7.

view this post on Zulip Pat Hickey (May 02 2023 at 03:30):

sorry, things are moving fast and we needed bugfixes that didnt make it into 8

view this post on Zulip Pat Hickey (May 02 2023 at 03:30):

or, i guess, features added to the bindgen macro

view this post on Zulip Pat Hickey (May 02 2023 at 03:30):

we cant reasonably back them out to get compatibility with 8

view this post on Zulip Pat Hickey (May 02 2023 at 03:31):

the host crate is going away, its soon to be a shadow of itself in the repo (see open PRs) as we prep the rewritten state of wasi-common in that repo

view this post on Zulip Pat Hickey (May 02 2023 at 03:37):

i am really very serious about trying to land this stuff in wasmtime this month. we will see

view this post on Zulip Pat Hickey (May 02 2023 at 03:37):

i have also been serious about it every other month this year, too


Last updated: Nov 22 2024 at 17:03 UTC