bytecodealliance / componentize-dotnet

Tooling for creating WebAssembly components from C#
Apache License 2.0
19 stars 8 forks source link

Handle Proxy Worlds #25

Closed jsturtevant closed 2 months ago

jsturtevant commented 2 months ago

There are three different types of component adapters, currently we only handle reactor and command and need to support proxy:

https://github.com/bytecodealliance/wit-bindgen/tree/main?tab=readme-ov-file#creating-components-wasi

wasi_snapshot_preview1.command.wasm - use this for CLI applications. wasi_snapshot_preview1.reactor.wasm - use this for applications that don't have a main function for example: for example a process that responds to an event. wasi_snapshot_preview1.proxy.wasm - use this for applications fed into wasmtime serve for example.

jsturtevant commented 2 months ago

This will no longer be an issue after https://github.com/dotnet/runtimelab/pull/2614 merges. wasm-component-ld (which ships as part of WASI-SDK) will manage this

jsturtevant commented 2 months ago

closing in favor of #26