Open ahaoboy opened 3 months ago
Hi @ahaoboy, that's true! We have no current plans supporting WASM. If we add this in the future, it will be a lightweight WASM runtime such as https://github.com/bytecodealliance/wasm-micro-runtime
WAMR is much smaller than wasmtime and is indeed more suitable for llrt.
I would also consider https://github.com/wasmi-labs/wasmi
I would also consider https://github.com/wasmi-labs/wasmi
wasmi does not support simd, which may limit some image processing libraries txiki.js may also use WAMR (I guess) https://github.com/saghul/txiki.js/issues/629#issuecomment-2244498155
Rust has a very fast WebAssembly runtime wasmtime, its speed is close to v8's WebAssembly
However, wasmtime will significantly increase the program size. If our program size reaches 40mb, then it seems that using v8 will be a better choice.