Questions tagged [wasmtime]
The wasmtime tag has no usage guidance.
4
questions
0
votes
0
answers
23
views
Use sightglass for wasmtime benchmarking
Did anyone ever successfully use sightglass for benchmarking of Substrate in wasmtime?
I'm trying to build the following sightglass benchmarking suite / Dockerfile:
RUN echo 'APT::Install-Suggests &...
7
votes
2
answers
203
views
How is wasmi different from wasmtime?
I found wasmi is a dependency in multiple substrate crates, but there's one crate that also uses wasmtime. How is wasmi different from wasmtime?
1
vote
0
answers
34
views
How to register HostFunction into WASM Runtime?
When I read the code of the wasmtime executor, I can't understand the way to register the HostFunction to the wasm module. What is the role of the sp_wasm_interface::HostFunctionRegistry trait? How is ...
7
votes
1
answer
135
views
What is the relationship between `sandbox`, `executor` and `runtime`?
I was recently reading the code for Substrate wasmtime, but I ran into some problems. I don't really understand the difference between runtime and sandbox.
For example, in the runtime.rs file, we can ...