Skip to content

improve host functions #4

@MarinPostma

Description

@MarinPostma

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions