descriptor / described type ordering constraints
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- wasm
- Ambito
- compilers
Direzione di ricerca
The payload names no files or tests. Start with the linked discussion in pull request 124 and the current rule that a described type must precede its descriptor. This is an open design question about whether to keep that ordering and whether descriptor types should come first, so a newcomer's first step is to read the thread and not to write code. Done means the maintainers agree on the ordering rule and the validation consequences are written down.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently we require a described type to appear before its descriptor type. The ordering constraint statically rules out descriptor cycles. The rationale for this ordering is that we expect described types to be referenced more frequently in the module, so it is better to give them smaller indices for smaller LEB index encoding. Also, it Just Makes Sense that you would want to see the "more concrete" type first.
However, @rossberg raised the questions of whether we need the ordering constraint at all, and if so, whether it would be nicer to have descriptor types first, matching the necessary order of construction.
There should be no runtime problem with allowing descriptor cycles; the involved types will just be uninhabitable. There might be some small extra complication in streaming type decoding and validation, since the validator would no longer be able to assume that described and descriptor types will or will not have been decoded.
- Lingua principale
- WebAssembly
- Stelle
- 13
- Fork
- 3
- Merge medio
- 3g 3h
- PR unite (30g)
- 17
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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/custom-descriptors
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WebAssembly/custom-descriptors#132 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WebAssembly/custom-descriptors#107 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
WebAssembly/custom-descriptors#100 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WebAssembly/custom-descriptors#98 · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WebAssembly/custom-descriptors#95 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di WebAssembly/custom-descriptors
Issue simili
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
microsoft/DirectXShaderCompiler#9155 ·
I maintainer di solito rispondono entro 2 giorni
-
Bisect issue244457Apertabisect
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
dtcxzyw/llvm-bisect-service#940 · 1 commento ·
-
bug cli sev-5
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
@loadable on a client field whose parent is neither a root type nor has an id panics the compilerAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
isographlabs/isograph#1023 ·
I maintainer di solito rispondono entro 1 giorno