hyperlight-dev / hyperlight-dev/hyperlight
Redesign public hyperlight API
- Langage dominant
- Rust
- Étoiles
- 4.7k
- Forks
- 208
- Merge moyen
- 1 j 7 h
- PR mergées (30 j)
- 47
Description
This issue is meant to cover redesigning the public hyperlight API for a 1.0 release. It's separate from https://github.com/hyperlight-dev/hyperlight/issues/765, because this one is referring to redesigning the existing API, while #765 is concerned about removing public items that should not be public.
Some things I can think of right now:
- Remove Uninitiated sandbox and `evolve`
- Combine and/or `SandboxConfiguration` and `SandboxRuntimeConfig`
- Add builder-pattern where makes sense
- Rename `MultiUseSandbox` (name is outdated)
- Possibly add some light-weight type-safety to MultiUseSandbox to prevent host functions from being added (see https://github.com/hyperlight-dev/hyperlight/pull/1392)
- Narrow method-specific errors and error variants, rather than a catch-all HyperlightError
Please add more!
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.