Optional Support for Multi-Shot Continuations
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- wasm
- Ambito
- compilers
Direzione di ricerca
Start by reading the Stack Switching Proposal and the issue's discussion of one-shot versus multi-shot continuations. Determine whether reusable continuations can fit the proposal and document the required design and trade-offs; done means a resolved feasibility decision or a concrete proposal for optional support.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This Stack Switching Proposal introduces one-shot continuations, which are efficient and align with a contiguous stack model. However, languages like Scheme, Racket, and other functional or dynamic languages rely on multi-shot continuations (e.g., call/cc), which can be invoked multiple times and require capturing and restoring the stack.
Would it be feasible to optionally support multi-shot continuations in this proposal? This could allow languages that depend on full continuation support to target WebAssembly without losing core features. Even if there’s a performance trade-off (e.g., using a linked-list stack or stack copying), having the option would broaden WebAssembly’s applicability.
Note : Racket supports both one shot and reusable continuations, both delimited. Scheme only supports undelinited reusable continuations, but they can be implemented over delimited ones
- Lingua principale
- WebAssembly
- Stelle
- 216
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di WebAssembly/stack-switching
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WebAssembly/stack-switching#156 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WebAssembly/stack-switching#145 · 4 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WebAssembly/stack-switching#144 · 4 commenti ·
-
JSPI integration Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WebAssembly/stack-switching#131 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
WebAssembly/stack-switching#128 · 6 commenti ·
Tutte le issue di WebAssembly/stack-switching
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
internal.h中,漏掉了1个定义。 Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
oxc-project/oxc#26944 ·