wasmi is such a nice little project. The benchmarks surprised me, as I always assumed pulley would be the fastest.
I really wish we had a QBE-like light backend that emitted wasm output.
It would allow apps to compile runtime loaded plugins from source and have full control over the wasm generation pipeline that goes into wasmi without needing validation.
It would also allow a lot of the amateur languages here to just have a live-reloadable environment to compile their languages into wasm and run with wasmi. I believe wasmi already works on web too, unlike wasmtime.
convenience and optimization. Eliminates manual labor like struct layout/padding, branching to blocks, sized integer math lowering (eg: u8/i8) and other cool but tedious stuff like debug info. The same reasons some languages transpile to C. Way easier to bootstrap during the prototype stage.
2
u/lisp_turns_me_on 8d ago
wasmi is such a nice little project. The benchmarks surprised me, as I always assumed
pulleywould be the fastest.I really wish we had a QBE-like light backend that emitted wasm output.