Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the Wasm component-model proposal #897

Open
Robbepop opened this issue Jan 16, 2024 · 3 comments
Open

Implement the Wasm component-model proposal #897

Robbepop opened this issue Jan 16, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Robbepop
Copy link
Member

Robbepop commented Jan 16, 2024

This is about adding support for the component-model Wasm proposal.

The component-model Wasm proposal is still in early Phase 1 and thus stabilization cannot be expected to happen soon, however, the people working on the Wasm standard are extremely convinced that it is going to become the defacto standard for all future Wasm runtimes to be supported since it is a huge enabler for the multi-language interopt vision of Wasm.

@syrusakbary
Copy link

Note: component model is in Phase 1 (not 4):
https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-1---feature-proposal-cg

From what other browsers have inputted, I believe is unlikely to transition phase any time in the close horizon

@Robbepop
Copy link
Member Author

Robbepop commented Feb 9, 2024

@syrusakbary Thank you for the correction. I fixed the typo to avoid confusion.

I usually try to only implement phase 4+ proposals in Wasmi since that provides safety to avoid maintenance burden with changes to the spec as is common for early phase proposals. However, with the component-model I feel people are really serious about its inclusion into the standard and it seems to be in a pretty developed state already for a phase 1 proposal. I might be wrong about this though.

@juntyr
Copy link

juntyr commented May 22, 2024

It is already possible to use the component model with wasmi (as long as no multi-memory is required, see #776) using the wasm_component_layer and wasmi_runtime_layer crates (the former provides component model emulation using multi-memory, the later is an adapter for the wasm_runtime_layer abstraction over various WASM runtimes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants