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

Component model support #324

Open
JanProvaznik opened this issue Jul 9, 2024 · 3 comments
Open

Component model support #324

JanProvaznik opened this issue Jul 9, 2024 · 3 comments

Comments

@JanProvaznik
Copy link

JanProvaznik commented Jul 9, 2024

Context

https://github.com/bytecodealliance/wasmtime/tree/main/examples/component
Add support for making the same example from C#.

https://github.com/WebAssembly/component-model/tree/main
https://github.com/bytecodealliance/componentize-dotnet

Current state:

Only Wasm modules can be instantiated and functions ran from them. Loading .wasm file which is compiled as a component into a Module fails.

Steps

[ ] running components
[ ] imports and exports (with WIT data types)
[ ] converting modules to components
[ ] multiple components interacting

Remarks

This is blocked by bytecodealliance/wasmtime#8036 (comment)

@jsturtevant
Copy link
Contributor

Now that we released wasmtime v22 support, we should have the right version but may need to expose some new apis

@JanProvaznik
Copy link
Author

JanProvaznik commented Jul 22, 2024

Related:
other language bindings have varying support
bytecodealliance/wasmtime-py#245
bytecodealliance/wasmtime-go#204
bytecodealliance/wasmtime#7801

@jsturtevant
Copy link
Contributor

Since we use the c-api we need bytecodealliance/wasmtime#8036.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants