Replies: 3 comments 5 replies
-
The linked performance comparison shows that it is slower than wasmer? |
Beta Was this translation helpful? Give feedback.
-
wasm3 indeed provides good performance numbers and even though there is not much discussion around our repos, we do keep an eye on it. I can talk only about the wasm for the Runtime execution. There we are not really interested in wasm3 because we are fully satisfied with our choice of wasmtime. Though impressive performance for an interpreter, compiling engine could yield even more performance. When it comes to the wasm virtualization (fka sandboxing, i.e. wasm smart-contracts) then it is more interesting. However, there are a different set of problems there. I think @athei can talk about this more. |
Beta Was this translation helpful? Give feedback.
-
Yeah I looked into it and talked about it a bit with @pepyakin and other people. For contracts it would indeed be a good solution to have a very fast interpreter. Reason is that we cannot really cache the compiled and optimized code like it is possible for runtimes. So the compilation step eats away what we gain in execution speed. And we also cannot use wasmtime because it isn't resilient against compiler bombs. So we are reliant on single pass compiler which generate even slower code. That said, there are some reasons why we didn't use wasm3, yet:
|
Beta Was this translation helpful? Give feedback.
-
I was reading https://arxiv.org/abs/2012.01032 and got curious why there are no discussions on wasm3 in this repo.
Wasm3 claims and according to benchmarks in ^ is the fastest WebAssembly interpreter. I understand that it may have different design considerations than wasmi or wasmer (not to mention the fact that it is written in C), but it might be an interesting potential option nevertheless.
Performance comparison: https://github.com/wasm3/wasm3/blob/main/docs/Performance.md
There is a Rust wrapper (somewhat experimental): https://github.com/wasm3/wasm3-rs
Beta Was this translation helpful? Give feedback.
All reactions