Stream: general

Topic: What is the relation between wiggle and wit-bindgen?


view this post on Zulip Simon Menke (Jun 20 2022 at 15:57):

Hi There,

There seem to be two formats for defining a module interface, wit (wit-bindgen) and witx (wiggle). How do these relate and which is deemed most future proof? I understand there is not finalized spec for this feature set. But, just from reading the docs, it is hard to make a more informed choice than a coin flip.

view this post on Zulip Dan Gohman (Jun 20 2022 at 16:05):

wiggle is what wasmtime currently uses to generate WASI bindings. We are in the process of migrating toward using wit-bindgen. wit-bindgen is the future here.

view this post on Zulip Simon Menke (Jun 20 2022 at 16:20):

Ah thanks, that's good to know!


Last updated: Dec 23 2024 at 13:07 UTC