The current implementation requires that host functions are registered when the context is built. While this probably makes call slightly faster, using indirect calls is much more ergonomic, since we can instantiate host function bindings on the fly.
Futhermore I would like to explore trampolining host function so that we can call plain rust function, and let the trampoline handle the calling convention switch
The current implementation requires that host functions are registered when the context is built. While this probably makes call slightly faster, using indirect calls is much more ergonomic, since we can instantiate host function bindings on the fly.
Futhermore I would like to explore trampolining host function so that we can call plain rust function, and let the trampoline handle the calling convention switch