Format Exploration » History » Version 4
« Previous -
Version 4/12
(diff) -
Next » -
Current version
J. Wienke, 06/20/2011 06:18 PM
Format Exploration¶
Currently, we use the Google Protocol Buffer library and its message definition format for serializing objects at the framework level. The user may use it for its own datatypes, but is not forced to do so by RSB. However, several alternatives exist which we may additionally evaluate. Afterwards, we could promote (at least internally) the use of one of the alternatives or stick to protobuf.
Serialization Formats and Libraries¶
- Protocol Buffers: http://code.google.com/p/protobuf/
- MessagePack: http://msgpack.org/
- ROS Wire format: http://www.ros.org (TODO link to specs?)
- LCMs wire format (TODO link to specs?)
- JSON
- Binary JSON: http://bsonspec.org/
Informal Comparison¶
An informal comparison...
Aspect | Google Protocol Buffers | LCM | ||||
---|---|---|---|---|---|---|
Programming Languages | Java, C++, Python, others community | C, Java, Python, .NET, Matlab | |
Self-describing messages | yes, optional | not visible in documentation |
Extension without recompile | yes | no by design? |