hyperlight-dev / hyperlight-dev/hyperlight
[host/mem] Review `SharedMemory` trait
Open
area/API
lifecycle/confirmed
- Dominant language
- Rust
- Stars
- 4.7k
- Forks
- 208
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 47
Description
We should review our APIs related to interacting w/ shared memory. In particular:
- `as_mut_slice`,
- `copy_from_slice`, and
- `copy_to_slice`.
These APIs allow read/writes to any shared memory offset. We should create higher-level abstractions to write to specific/named offsets.
Contributor guide
Assessment
This issue has not been assessed yet.