diff --git a/README.md b/README.md index cd6d876e..3c7e7679 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,25 @@ MessagePack =========== -Extremely efficient object serialization library. It's like JSON, but very fast and small. +MessagePack is an efficient binary serialization format. It's like JSON. but fast and small. -## What's MessagePack? +This repository is divided to multiple implementation probjects on https://github.com/msgpack organization. -**MessagePack** is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small. - -Typical small integer (like flags or error code) is saved only in 1 byte, and typical short string only needs 1 byte except the length of the string itself. \[1,2,3\] (3 elements array) is serialized in 4 bytes using MessagePack as follows: - - require 'msgpack' - msg = [1,2,3].to_msgpack #=> "\x93\x01\x02\x03" - MessagePack.unpack(msg) #=> [1,2,3] - -**MessagePack-RPC** is cross-language RPC library for client, server and cluster applications. Because it releases you from complicated network programming completely and provides well-designed API, you can easily implement advanced network applications with MessagePack-RPC. - - require 'msgpack/rpc' - class MyHandler - def add(x,y) return x+y end - end - svr = MessagePack::RPC::Server.new - svr.listen('0.0.0.0', 18800, MyHandler.new) - svr.run - - require 'msgpack/rpc' - c = MessagePack::RPC::Client.new('127.0.0.1',18800) - result = c.call(:add, 1, 2) #=> 3 - - -## Getting Started - -Usage and other documents about implementations in each language are found at [the web site.](http://msgpack.org/) - - -## Learn More - - - [Web Site](http://msgpack.org/) - - [Wiki](http://wiki.msgpack.org/display/MSGPACK/Home) - - [Issues](http://jira.msgpack.org/browse/MSGPACK) - - [Sources](https://github.com/msgpack) + * Node.JS: https://github.com/msgpack/msgpack-node + * D: https://github.com/msgpack/msgpack-d + * Go: https://github.com/msgpack/msgpack-go + * Python: https://github.com/msgpack/msgpack-python + * Ruby: https://github.com/msgpack/msgpack-ruby + * Java: https://github.com/msgpack/msgpack-java + * Scala: https://github.com/msgpack/msgpack-scala + * CLI/C#: https://github.com/msgpack/msgpack-cli + * Objective-C: https://github.com/msgpack/msgpack-objectivec + * Perl: https://github.com/msgpack/msgpack-perl + * Haskell: https://github.com/msgpack/msgpack-haskell + * PHP: https://github.com/msgpack/msgpack-php + * OCaml: https://github.com/msgpack/msgpack-ocaml + * C/C++: https://github.com/msgpack/msgpack-c + * Erlang: https://github.com/msgpack/msgpack-erlang + * Smalltalk: https://github.com/msgpack/msgpack-smalltalk + * JavaScript: https://github.com/msgpack/msgpack-javascript