component-docs icon indicating copy to clipboard operation
component-docs copied to clipboard

Differences and relation between component, WASI and WIT

Open brucegainx opened this issue 2 years ago • 3 comments

Maybe clarify how all of these are related and overlap a part of the Component model in the text on the WebAssembly Component Model page.

The concepts listed here are clear on that page, but do they fit together and overlap as part of the Component model? Just a sentence or two would so with diagrams. --Physically, a component is a specially-formatted WebAssembly file. Internally, the component could include multiple traditional ("core") WebAssembly modules, and sub-components, composed via their imports and exports. --A package is a set of one or more WIT (Wasm Interface Type) files containing a related set of interfaces and worlds. --WIT is an IDL (interface definition language) for the Component Model. --The WebAssembly System Interface (WASI) defines a number of packages, including one named wasi:clocks.

brucegainx avatar Sep 08 '23 21:09 brucegainx

~closing as resolved by https://github.com/bytecodealliance/component-docs/pull/64. Please reopen if we can further clarify this in the documentation~ That PR is still in progress

kate-goldenring avatar Mar 15 '24 18:03 kate-goldenring

Hey @kate-goldenring is this still relevant? Did the clarifications pointed out in #64 ever get merged in any form, or does that PR need to be updated?

vados-cosmonic avatar Oct 31 '24 09:10 vados-cosmonic

@vados-cosmonic it didn't get merged. Lets revisit that PR to see where we can add this overview of terms

kate-goldenring avatar Oct 31 '24 18:10 kate-goldenring