GithubHelp home page GithubHelp logo

aversion's People

Contributors

ericseppanen avatar hlinnaka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

hlinnaka

aversion's Issues

Add some example DataSource implementations

The DataSource abstraction is necessary but might be a little confusing at first.

It would be helpful to add at least one example, that is also directly usable by user code. The code in group_test.rs is pretty close; it only needs better error handling.

compute a "manifest" from a message group

To determine if a program can parse a data file or protocol, we should be able to generate some kind of "data structure manifest", which includes the message id and latest version of each data structure in the group.

A program could contain a compiled-in manifest, and by comparing the two can determine whether it's capable of reading a file.

This might be useful in other ways, e.g.

  • A serializer could use the manifest to compress or elide the data headers, e.g. replacing {msg_id: 123, ver: 4} with ManifestIndex(5).
  • A manifest hash could behave like a fingerprint, to determine roughly which version of software wrote a file.
  • A manifest could be locked down and enforced via unit tests, if a format is expected to be frozen and never changed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.