hyperlight-dev / hyperlight-dev/hyperlight

Feature request - native sandbox function call

Aperta
#424 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/API lifecycle/confirmed
Lingua principale
Rust
Stelle
4.7k
Fork
208
Merge medio
1g 7h
PR unite (30g)
48

Descrizione

I feel like making one binary that maps COW to both host and guest would be cool, that way the sandboxed function can be compiled to the same binary and a call to the function can be done in a native way without a string name but rather by:
```
#[sandboxed]
fn calculate(){}
guest.call(calculate)
```

How does that sound?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue names no files, tests, or entry points. Start by mapping the existing sandbox function-call API and the proposed COW host/guest arrangement, then determine whether the #[sandboxed] and guest.call(calculate) interface is feasible. Done would require an agreed design and an implemented native-call path with tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
infrastructure
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.