component-model
component-model copied to clipboard
Repository for design and specification of the Component Model
Is there anyone already working on a draft for adding runtime instantiation to the component model? Runtime instantiation means that a component can dynamically instantiate another component given its binary...
I believe the answer is "no", but I wanted to confirm. I believe this is likely used by libraries that do some sort of connection pooling or similar where a...
Currently canon builtins are primarily encoded as a prefix byte plus any payload immediately afterwards. Over time though we might want to add more options/extensibility to preexisting builtins, such as...
Below text is the binary built from https://github.com/sunfishcode/hello-wasi-http/tree/29205a0749835bd65be65841640af913be9be794 and use `wasm-tools dump *.wasm` to get. ``` [instance 6] Instantiate { component_index: 0, args: [ComponentInstantiationArg { name: "import-func-handle", kind: Func, index:...
I'm not sure if what I'm describing here is a problem with the specs, or a problem with the implementation(s) so please let me know if I should report it...
Currently, the component model is very complicated and difficult to understand and to implement. In particular, `wasmtime` has the only working implementation of the component nodel: `wasmtime-environ`, which is used...
Am I correct to say that: when `stream.write` returns `BLOCKED`, it continues to have access to the provided memory buffer until the write either finishes or is canceled? If so,...
Today, most components in practice contain 3 core modules (not even counting the preview1-to-preview2 adapter). The reasons this happens it that we have an import cycle. Every executable Wasm module...
Today I realized that `option` or `option` could have the same size and representation as the resource itself, because (at least in the current bindings) -1 is used as an...
# what Refined types allow producing new types by limiting some values of the base type by predicates. Wuffs is one industry-successful example of an application. Jolie is something like...