Skip to content

Redesign public hyperlight API #1560

@ludfjig

Description

@ludfjig

This issue is meant to cover redesigning the public hyperlight API for a 1.0 release. It's separate from #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
  • Narrow method-specific errors and error variants, rather than a catch-all HyperlightError

Please add more!

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/confirmedBug is verified or proposal seems reasonable

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions