This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
sc-executor-wasmtime: leverage shared host functions #8252
Open
Description
At the moment of writing, wasmtime is about to introduce a concept of shared host functions,
bytecodealliance/rfcs#9
bytecodealliance/wasmtime#2625
This would allow us to not redefine the entire Substrate Runtime Interface upon each WasmModule
instantiation. While it's not important for the substrate path it may be useful for PVF execution, since there we may execute a lot of short lived instances with the same interface.