component-model
component-model copied to clipboard
Repository for design and specification of the Component Model
I am lost with current proposals. As I know Interface types proposal was created for direct WebAPI calls from WebAssembly. (Answer from Emscripten team https://github.com/emscripten-core/emscripten/issues/15710#issuecomment-987263141 ) But it was renamed...
Currently tuples, as specified, may contain up to 4294967295 (`u32::MAX`) elements, however that presents challenges for integration, especially in languages that do not have a native tuple type (like Go)....
The current specification for [`flags`](https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md#item-flags-bag-of-bools) types allows an arbitrary (unlimited) number of labels. For languages without a bit vector types or operator overloading (like Go), `flags` types with 64 labels,...
When using WIT to describe some existing interface, it is sometimes required to have enums with specific values. But there is no way to express this in WIT currently. Think...
It would be useful if this repo had releases + versions, especially for the ABI.
I am using Rust to develop a vscode plugin based on Wasm, but when the function return type is string, JavaScript always fails to receive results. May I ask if...
Is there a specification to mark whether a component model should be (as a suggestion) a static library or a dynamic library? Assume `lib.wasm` is a library, `app.wasm` is an...
Currently, the grammar for function types is as follows: ``` functype ::= (func ) paramlist ::= (param "" )* resultlist ::= (result "" )* | (result ) ``` All parameters...
Currently, each function has a different name. Can we add `#overload(target_name)` to require languages that support overloading to generate an overloaded version of the function? Different languages have different overload...
If I'm creating a WIT package today, how should I go about choosing a name for it such that it won't conflict with somebody else's name in the future? Is...