1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Google Protocol Buffers v3.0.0-alpha-1 发布 下载

本帖由 漂亮的石头2014-12-16 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,020
    赞:
    46
    Google Protocol Buffers v3.0.0-alpha-1 发布,新特性包括:


    1. Removal of field presence logic for primitive value fields, removal of required fields, and removal of default values. This makes proto3 significantly easier to implement with open struct representations, as in languages like Android Java, Objective C, or Go.


    2. Removal of unknown fields.


    3. Removal of extensions, which are instead replaced by a new standard type called Any.


    4. Fix semantics for unknown enum values.


    5. Addition of maps.


    6. Addition of a small set of standard types for representation of time, dynamic data, etc.


    7. A well-defined encoding in JSON as an alternative to binary proto encoding.

    同时部分 proto3 支持 C++ 和 Java,目前上述的 6 和 7 暂时没有实现。详细介绍请看发行说明

    Protocol Buffers (ProtocolBuffer/ protobuf )是Google公司开发的一种数据描述语言,类似于XML能够将结构化数据序列化,可用于数据存储、通信协议等方面。现阶段支持C++、JAVA、Python等三种编程语言。
    Google Protocol Buffers v3.0.0-alpha-1 发布下载地址
     
正在加载...