google / google/wasefire

Compile-time linker for host functions

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
crate:api crate:interpreter crate:scheduler for:performance needs:design
Dominant language
Rust
Stars
188
Forks
41
Avg merge
1d 5h
Merged PRs (30d)
12

Description

We currently build the list of host functions dynamically when creating the scheduler. This could be done statically.

We would need the following things:
- A notion of linker in the interpreter.
- That list should be subject to slicing (see #50).
- Maybe help from `databake` crate if some structure is required (versus an integer, see #90).
- Maybe using `phf` to generate a perfect hash function.
- The API should generate this list.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.