Real World WASI Components
summary
A concrete C2PA API implemented as a single WASI component compiles from the Rust C2PA crate to wasm32-wasi and actually runs as a web service in wasmCloud via wasi-http and as a CLI via wasi-cli, with generated JavaScript and Node bindings using jco The build uses file descriptors for seekable media streams, workarounds for callbacks by defining a separate serer world, and extra derives for serialization The demos show web, node and CLI flows that apply and verify manifests and cryptographic signing successfully
AI-written summary · about
chapters (10)
- 0:00Introduction to CAI
- 2:16Why use components?
- 3:22Steps for component creation
- 6:12Defining interfaces
- 10:06Implementing the API
- 14:32Handling first-class functions
- 16:55Implementation details
- 18:25Dependent components and JCO
- 21:32Live demo
- 24:54Future and conclusion
related talks
24mWASI and the Cloud
33mWASI and the Cloud: A Game-Changing Duo
56mKEYNOTE: WebAssembly Update: The Proposals, Wasi, And The Component Model
32mBringing WebAssembly outside the web with WASI
30mComponents, WebAssembly’s Docker’s Moment
29mwasi-cloud: The Future of Cloud Computing with WebAssembly
44mThe World of WASI
08mKeynote: WASI Standards and the Component Model: Transforming Application Development Forever
