An experimental wasm app runtime.
Wasi include in wasm-component(contains interface type), define in wit file, then use linker link to the wasmtime component.
- async
- multi invokers
# run server
egccri run 0.0.0.0:9999
# install app use client
egccri-client -s 127.0.0.1:9999 install grpc-service 0.1.0Publish and run guest from registry.
cargo install --git https://github.com/bytecodealliance/registryUse cargo component impl guest.
cargo component buildHow to add a pub/sub support with rust and wasmtime?
- consider use wasi support io function
- design a
pub/subprotocol base tcp - use a wit file to describe
pub/subinterface - use
wit-bindgengenerate host/guest code - impl
pub/subbase host generate code with wasmtime - link
pub/subcomponent to wasmtime - give a sdk use
wit-bindgen(extend 'C') - write a guest crate to use
pub/subsdk - support run wasm with cmd or invoker
Flow upcoming wasi-messaging version and impl Host function base tcp.
Wasi preview1 different with preview2? Wasi standard changed, how rust compiler also need change? watch lib/sys/wasi. Wasi func store where in wasm binary? import section.