Git Product home page Git Product logo

msgpack's Introduction

msgpack

A pure Pony implementation of the MessagePack serialization format.

Status

msgpack is currently beta software. It implements a low-level API for encoding and decoding data. Still to do:

  • High-level API for a better programming experience

Installation

  • Install corral
  • corral add github.com/seantallen-org/msgpack.git --version 0.2.5
  • corral fetch to fetch your dependencies
  • use "msgpack" to include this package
  • corral run -- ponyc to compile your application

API Documentation

https://seantallen-org.github.io/msgpack/

msgpack's People

Contributors

rkallos avatar seantallen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jemc rkallos

msgpack's Issues

Add "best size" encoding/decoding methods

When writing a value that is part of a U16, U32 etc, they value might possibly be represented in a smaller value. Add methods/functionality to allow this to happen.

Note, this should be a separate method so any additional processing overhead is not incurred if speed of encoding is valued over compactness of representation.

This might require changes to decoding as well to take a value that was encoded as a U8 but we are expecting as a U16 to get it back as a U16.

Add "usage" instructions

Examples on how to use as part of top level MessagePack package documentation.

Particular emphasis should be placed on using Map and Array correctly.

Add "faster" bin/ext/str decoding

The ext, str, bin decoding methods both will decode any str/ext type. This is good for developer convenience, however, the embedded if statements to find the correct type is going be slower than being able to call something like ext_16.

Support for decoding

  • fixext_1
  • fixext_2
  • fixext_4
  • fixext_8
  • fixext_16
  • ext_8
  • ext_16
  • ext_32
  • bin_8
  • bin_16
  • bin_32
  • str_8
  • str_16
  • str_32

should be added for when performance is of maximum importance.

Release 0.3.0

With the addition of the timestamp support from @rkallos, it's a good time to do a 0.3.0 release. I think as part of that, I'll add a release process doc and a bit of scripting.

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.