hyperlight-dev / hyperlight-dev/hyperlight

`Uninitialized::new` should take guest binary by ref

Open
#634 0 comments 0 reactions 0 assignees View on GitHub
lifecycle/confirmed
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
48

Description

So one GuestBinary can be used for many different sandboxes

#559 made some progress on this, which at leasts avoid copying the inner buffer.
#560 was closed due to #605 changing the API, making it harder to use the `Borrow` trait as initially intended.

Contributor guide

Open the contributing guide

Research direction

Start by reading issues #559, #560, and #605, then locate `Uninitialized::new` and its `GuestBinary` call sites. The change is complete when one `GuestBinary` can be passed by reference and reused to create multiple sandboxes without copying its inner buffer.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.