Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Dart SIMD use case.

Aperta
#5 11 commenti 1 reazione 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
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
dart, wasm

Direzione di ricerca

Inizia dal testo dell’issue e dalla discussione collegata su WebAssembly GC per comprendere il caso d’uso della scansione SIMD di Dart dart2wasm e il comportamento proposto per l’accesso agli array multibyte. Non vengono indicati file del repository né test, e non sono definiti criteri di completamento; l’issue avrebbe bisogno di una proposta concreta o di un criterio di accettazione prima che l’implementazione possa iniziare.

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

Descrizione

Hello!

I just wanted to briefly share some use cases for this in the Dart world.

We are working on adding better SIMD support to the dart2wasm compiler in Dart.

One of the use cases we can't support right now is an efficient SIMD based scan.

To be able to efficiently scan through a byte stream (or a string to implement the memchr equivalent in Dart called indexOf) using SIMD we'd need to have the ability to reinterpret parts of the backing storage as appropriate types that allow us to cheaply treat a chunk of it as a SIMD type.

Here's some more Dart use cases from another perspective from @osa1 in https://github.com/WebAssembly/gc/issues/395#issuecomment-1630391803

An 8x unrolled SIMD based scan can achieve 120GB/s on a modern mac using NEON. It would be great if use cases like these could be opened up with this proposal. Experiments show that we are at least an order of magnitude away from being able to reach those numbers with wasm gc.

Lingua principale
WebAssembly
Stelle
4
Fork
1
Merge medio
16h 35m
PR unite (30g)
1

Guida per i contributori

Apri la guida per i contributori

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 WebAssembly/multibyte-array-access

Tutte le issue di WebAssembly/multibyte-array-access

Issue simili

Altre issue su Compilers

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.