Serialization using Abomonation

Offen
#436 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
rust
Bereich
data

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
4.3k
Forks
391
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus rust-ndarray/ndarray

Alle Issues in rust-ndarray/ndarray

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.