Joel Dice
Joel Dice
FYI, @fibonacci1729 and I have this pretty much implemented; we'll demo it at tomorrow's Component Model meeting, then clean things up and start opening PRs. I'm sure @alexcrichton will have...
First draft PR for feedback: https://github.com/bytecodealliance/wasmtime/pull/5925 I anticipate that one will generate the most discussion, since there are a variety of ways host bindings could be generated, and I picked...
@lukewagner Brian and I ran into what seems to be a pretty fundamental issue while implementing this. Consider this world: ``` interface foo { *: func() -> u32 } default...
I just realized my example above is rejected by `wasm-tools` anyway since you can't import the same interface more than once (I'd be curious to know the reason for that,...
Assuming we do want to modify WIT and the CM to enable multiple instantiation of wildcard interfaces, I think it might be helpful to compare it to the existing "genericity"...
> Other than the commented-out bit about the `"*"` export, I think the above Wit is valid because the interface template isn't directly used by any subsequent types; is that...
I went ahead and created draft PRs containing a minimum viable implementation: https://github.com/bytecodealliance/wasm-tools/pull/964 https://github.com/bytecodealliance/wit-bindgen/pull/541 https://github.com/bytecodealliance/wasmtime/pull/5934 I like @lukewagner 's idea for specifying ids for otherwise-anonymous interfaces. For now, though, our...