Compile-time linker for host functions
Open
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
Assessment
This issue has not been assessed yet.