You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
streams are not implemented in wit-bindgen for C bindings #804
Yeah, the only tool that can handle stream and future at this point (AFAIK) is isyswasfa and its temporary forks of wit-bindgen and componentize-py (and those only handle Rust and Python at the moment). It emulates support by transforming the stream and future references in the WIT into resource imports.
I'm currently working on adding support for async lifts and lowers, along with proper (not just emulated) support for stream and future to wit-bindgen, wasm-tools, and wasmtime, and plan to start opening PRs on those projects in the next few weeks. See https://github.com/dicej/component-async-demo for the progress I've made so far.
I agree that C binding support will be a blocker, and I plan to take a crack at it once the other foundational pieces are in place. If you or anyone else are interested in contributing to those efforts, I'd be happy to collaborate.
Activity
dicej commentedon Apr 18, 2024
Yeah, the only tool that can handle
streamandfutureat this point (AFAIK) is isyswasfa and its temporary forks ofwit-bindgenandcomponentize-py(and those only handle Rust and Python at the moment). It emulates support by transforming thestreamandfuturereferences in the WIT into resource imports.I'm currently working on adding support for async lifts and lowers, along with proper (not just emulated) support for
streamandfuturetowit-bindgen,wasm-tools, andwasmtime, and plan to start opening PRs on those projects in the next few weeks. See https://github.com/dicej/component-async-demo for the progress I've made so far.I agree that C binding support will be a blocker, and I plan to take a crack at it once the other foundational pieces are in place. If you or anyone else are interested in contributing to those efforts, I'd be happy to collaborate.