WasmEdge / WasmEdge

WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
https://WasmEdge.org
Apache License 2.0
8.57k stars 772 forks source link

feat: Implement component-model proposal in WasmEdge #2943

Open dannypsnl opened 1 year ago

dannypsnl commented 1 year ago

Summary

Component model is a wasm proposal that introduces a new binary format called component, the WASI Preview2 (#2939) is highly dependent on the format. Therefore, this issue tracks the implementation status of component model in WasmEdge.

Details

Appendix

dannypsnl commented 10 months ago
command explain
wasm-tools dump xxx.wasm dump content of binary with explaintion
wasm-tools component new core.wasm -o component.wasm wrap a wasm into component
wasm-tools component wit component.wasm extract wasm types interface from a component binary