Home

Anonymous

Overview

CPProto is used to specify, serialize, and deserialize messages. Messages can be deserialized from a stream or individually.

Comparison to Protocol Buffers

Similarities

-The wire format is MUCH more byte efficient than XML.
-Stops the programmer from having to write one-off parsers.
-Allows a protocol to be updated without breaking backward-compatibility.
-Composeable. Messages composed of fields and messages are fields.

Advantages

-Doesn't require a code generator.
-Wire format slightly nicer.

Disadvantages

-C++ only.
-Not compatible with Protocol Buffers.