Serialization using Abomonation

Aperta
#436 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
data

Direzione di ricerca

Start by reviewing ndarray's owned array types and the existing local experiment described in the issue. Determine the feature-flag boundaries and add tests covering serialization of owned arrays through Abomonation. Done means ndarray users can opt into the integration without separate wrapper types and the tests pass.

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

Descrizione

enhancement

I am working on a project that uses Timely Dataflow in combination with ndarray. Timely Dataflow uses the Abomonation crate for fast serialization and interprocess communication, which needs the Abomonation trait to be implemented for any type that is sent through a Timely Stream.

Currently I have separate "AbomonatableArray" types that I convert the Array types from ndarray into and back, but needless to say, this is fairly clumsy and involves a good bit of boilerplate in any code that uses Array types and needs them to go through a Stream.

Is implementing Abomonation (probably only for owned arrays) behind a feature flag in ndarray something that would be considered? I may actually be able to do provide a pull request with the necessary changes. I already had things working in an experiment with a local clone of ndarray, but I'd definitely have to go back to that, clean it up a little and add tests first.

Lingua principale
Rust
Stelle
4.3k
Fork
391
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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-ndarray/ndarray

Tutte le issue di rust-ndarray/ndarray

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.