Questions tagged [wasmtime]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
1 answer
138 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 ...
Emison Lu's user avatar
7 votes
2 answers
249 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?
RoboT's user avatar
  • 377
1 vote
0 answers
36 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 ...
Emison Lu's user avatar