Open brendandburns opened 6 months ago
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.
If you try to generate bindings for 0.3.0 for C it fails:
I realize that this is actually a
wit-bindgen
issue, but I think C bindings should be a blocker for an 0.3.0 release.