3 ms·
> Wasmi intentionally mirrors the Wasmtime API on a best-effort basis How does that correspond to implementing the wasi api? I think wasmtime is a javascript p
by JonChesterfield 2y ago
> Wasmi intentionally mirrors the Wasmtime API on a best-effort basis
How does that correspond to implementing the wasi api? I think wasmtime is a javascript project for wasm on the web, is that a distinct thing to wasi?
(this file existing suggests wasmi contains an implementation of wasi https://github.com/wasmi-labs/wasmi/blob/master/crates/wasi/src/lib.rs https://github.com/wasmi-labs/wasmi/blob/master/crates/wasi/...)
- herobird 2y agoI see that this sentence was a bit vague. What was meant that Wasmi as a Rust library mirrors the Wasmtime API that can be found here: https://docs.rs/wasmtime/21.0.1/wasmtime/ https://docs.rs/wasmtime/21.0.1/wasmtime/ But yes, Wasmi also supports WASI preview1 and can execute Wasm applications that have been compiled in compliance to WASI preview1.