WASM is in a questionable state

Aperta
#67 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
rust, wasm

Direzione di ricerca

Start by inspecting the manifest and the CI job that runs WASM tests, then review the DATA_ALIGNMENT change linked in the issue. Investigate the listed WASM targets and their tooling before deciding the minimum supported targets. Done means the dependencies, alignment handling, CI coverage, and target documentation are consistent with that decision.

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

Descrizione

  • There are wasm_bindgen dependencies in the manifest even though it's never used anywhere (there are 0 wasm_bindgen tests). This also makes the CI job running WASM tests redundant.
  • The DATA_ALIGNMENT change was introduced to rav1e in early 2020 and I'm not sure if it's still needed
  • more WASM targets exist now (wasip1, wasip2, wasip3) and I'm not 100% sure what to target as the minimum/what to support
    • wasm32-unknown-unknown/wasm32-unknown-emscripten are the old "base" targets
    • the p1/p2/p3 extensions kind of build on top of it, p2 introduces a big change with the component model thing (and way more of std actually works)
    • p1 and higher might support higher alignments?
    • tooling seems to be very different between WASI and older targets

I don't know much about WASM but this might need some investigation and changes.

Lingua principale
Rust
Stelle
19
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-av/v_frame

Tutte le issue di rust-av/v_frame

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.