By rlamarch
via google-opensource.blogspot.com
Published: Jul 08 2008 / 09:11
At Google, our mission is organizing all of the world's information. We use literally thousands of different data formats to represent networked messages between servers, index records in repositories, geospatial datasets, and more. Most of these formats are structured, not flat. This raises an important question: How do we encode it all? XML? No, that wouldn't work. Do we just write the raw bytes of our in-memory data structures to the wire? No, that's not going to work either. Instead, we developed Protocol Buffers. Protocol Buffers allow you to define simple data structures in a special definition language, then compile them to produce classes to represent those structures in the language of your choice.
Comments
ksh2dzone replied ago:
XML is ugly, bulky or everything...but widely standard. If I have to use some other format, I will do just JSON! We are suffering vendor dependency day and night with this strong hardware and stupid OS with anti virus and firewall on it (that I am and many are using) I do not want a "VENDOR DEPENDENT INTERNET"!
Voters For This Link (14)
Voters Against This Link (1)