Protocol Buffers介绍

很高兴,Google发布了Protocol Buffers,不在于这个数据格式有多少实际意义,而在于互联网开发的世界有了更过的开放和共享。

这里介绍一下Protocol Buffers是什么?

简单讲,Protocol Buffers是描述格式化数据的描述语言,是xml的替代品。Protocol Buffers相对于xml的优势是:(未经证实)

  • are simpler,更简单
  • are 3 to 10 times smaller,文件大小更小
  • are 20 to 100 times faster,解析和处理速度更快
  • are less ambiguous,语义更清晰
  • generate data access classes that are easier to use programmatically,可以自动生成数据访问代码……

目前,Protocol Buffers支持C++,Java,Python三种语言。
Protocol Buffers的主页在:http://code.google.com/p/protobuf/

Related posts

4 thoughts on “Protocol Buffers介绍

  1. 李先生:您好!

    我一直都很关注你的BLOG.感觉您对工作的态度,我们这些做晚辈的很是佩服!!!
    如能得以您的指点.我想在不久将来我的技术会得到认可!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>