Skip to content

Comment on Wasmi v0.32: WebAssembly interpreter is now faster than ever

Comments

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/...)

I 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/

But yes, Wasmi also supports WASI preview1 and can execute Wasm applications that have been compiled in compliance to WASI preview1.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.