WebAssembly / interface-types

Other
641 stars 57 forks source link

Phase 2 estimate #130

Open BasedSpeak opened 3 years ago

BasedSpeak commented 3 years ago

How close are we to moving to phase 2? I would like trying to contribute to this proposal if this is possible, but I don't really know how since I'm not working on any web engines.

lukewagner commented 3 years ago

There are still some significant-enough changes we're actively discussing and working out that, at least from my perspective, I didn't want to signal "the design is stable, start widespread implementation" by switching to Phase 2. That being said, alexcrichton is doing some great work at the moment on a prototype (that temporarily sidesteps questions about how exactly adapter functions/instructions work by just lifting/lowering based on a fixed "canonical ABI" that is derived from the interface type) that he talks about in #123 (comment).

BasedSpeak commented 3 years ago

Thank you for your reply! I also wanted to know if there is some kind of estimate when this will happen.

BasedSpeak commented 3 years ago

Sorry if this sounds disrespectful, thanks for your hard work.

lukewagner commented 3 years ago

(Sorry for the slow reply, I was out of office. And no worries about asking :) My expectation is that we'll have the remaining open design questions worked out within the next half year so that phase 2 would make sense.

rektide commented 3 years ago

That being said, alexcrichton is doing some great work at the moment on a prototype (that temporarily sidesteps questions about how exactly adapter functions/instructions work by just lifting/lowering based on a fixed "canonical ABI" that is derived from the interface type)

Alex has a new WASI abi taking form in https://github.com/WebAssembly/WASI/pull/422