Re:Serializing Data - JSON vs. Protocol Buffers
by jpschorr on Monday August 17, 2009 @08:50AM
(#767964)
It should probably be noted that the Python implementation currently works much differently than the C++ and Java implementations.
The C++ and Java versions generate code for each message type defined in a your proto file (in fact there an option that let's you specify to optimize for speed). The python version on the other hand creates an object representing the proto file, and reflects upon it for serialization/deserialization.
The C++ and Java versions generate code for each message type defined in a your proto file (in fact there an option that let's you specify to optimize for speed). The python version on the other hand creates an object representing the proto file, and reflects upon it for serialization/deserialization.