Proto n00b. I am encoding protobuf messages in a 64bit app and the receiving side is 32bit app. Such is the architecture at this time, and i am trying to understand if this will work.
Most of the proto scalar types seems to have a size defined except for float and double. So I am thinking this should work. But if there are other things to be concerned about in an environment like this, I know not and hence requesting help.
Thanks!!
It can accept input crafted by later versions of protobuf. The sender is backward compatible because it's creating output that can be consumed by earlier versions. So long as you're careful about when and how you change and remove fields, your protobuf will be forward and backward compatible.
Protobuf strings are always valid UTF-8 strings. See the Language Guide: A string must always contain UTF-8 encoded or 7-bit ASCII text. (And ASCII is always also valid UTF-8.)
Protobuf achieves good compression ratios through varint encoding. It might not be necessary to add an extra layer of compression in most cases.
Protocol buffers, or Protobuf, is a binary format created by Google to serialize data between different services. Google made this protocol open source and now it provides support, out of the box, to the most common languages, like JavaScript, Java, C#, Ruby and others.
Yes, it will work. The Protobuf encoding is completely independent of architecture.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With