On Monday, Google released the company's open-source data description language protocol buffers ". Protocol buffers is similar to XML, but it is simple, compact, and fast.
Chris dibonap, Google's open-source project manager, said in his blog that "Almost all structured information we transmit over the network or store on disks uses this language. We believe that Protocol buffers is of great benefit to others, so we decided to release it as an open source software ."
Kenton Varda, Google's software engineer, said on the open-source blog that Google uses thousands of different data formats, most of which are structured data formats. Using XML to process these massive structured data seems powerless, So Google developed protocol buffers.
Valda compares protocol buffers to an interface Description Language (IDL) without the complexity of IDL. "One of the main design goals of protocol buffers is conciseness, as is the case with reality," Valda said. Protocol buffers is not only powerful, but also at least an order of magnitude faster than XML ."
According to Google Documents, compared with comparable XML files, the Protocol buffers file is 2-9 times smaller, and the resolution speed is 19-99 times faster.
Google also said it plans to release more other software projects as open-source software in the future. Because all these projects will use protocol buffers, protocol buffers will be released first.
Http://code.google.com/p/protobuf/
License: Apache license 2.0