Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion What's the point of Protocol Buffers?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
cmichael  
View profile  
 More options Jul 23 2010, 5:18 pm
From: cmichael <cmmich...@gmail.com>
Date: Fri, 23 Jul 2010 14:18:07 -0700 (PDT)
Local: Fri, Jul 23 2010 5:18 pm
Subject: Re: What's the point of Protocol Buffers?

>    3.  Schema evolution supported out-of-the-box (backward compatibility)

4. Also, because of the schema, protobufs are strongly typesafe, and
JSON is not.

5. Using the APIs makes programs easier to understand and debug,
versus libraries that support object serialization as an afterthought,
because:
 - Unlike a complex class where serialization can have side effects,
you always know how a proto will behave, you know that it will always
serialize (very useful for debugging).
 - Much like the MVC model, it actually forces a separation of the
Model (the protobuf) from the Controller (the program using the
protobuf). You can achieve this with any number of methods other than
protobufs, but since the question is why should someone use protobufs
instead of latent serialization, this seems pertinent. Model/
Controller separation just gives you better code, which is why I would
probably use protobufs even if I was writing a program that did very
little I/O with protobufs.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.