2026年7月30日 · 星期四
● 每日更新·改变自己
Eurekar·TOP
捕捉真实世界的英语信号
25信息来源
8,216精选文章
167单词卡片
18照片图片
全部6,477口语2,048免费395新闻1,599帖子1,379hackernews658tmz458techmeme456随笔323slashdot309外刊291arstechnica230techcrunch218Cards167simonwillison73动态69bloomberg54sethgodin43图片18youtube7
← 返回

Protobuf-py:毫不妥协的Python Protobuf

2026-07-12 hackernews

← 上一篇返回列表下一篇 →

Protobuf-py: Protobuf for Python, without compromises

Protobuf-py:毫不妥协的Python Protobuf

HN Points: 97 / 25 comments | Author: ming13 | HN Discussion: item?id=48827058 | Source: buf.build

Original Article

Today we’re announcing protobuf-py , a Protocol Buffers library for Python written completely from scratch. It passes every binary and JSON case in the Protobuf conformance suite across proto2, proto3, and editions, and it supports extensions, custom options, unknown fields, dynamic messages, and well-known types. It generates readable, typed Python, has no runtime dependencies, and runs on pure Python 3.10+. With its Rust accelerator installed, it’s just as fast for production workloads as upb , the C engine Google’s Python package runs on.

⋯ 继续阅读请登录会员 ⋯

🔒

MEMBERS ONLY

这篇是会员专享内容,你看到的是预览段。

会员每天解锁 6000+ 篇真实英语素材——双语科技、口语、外刊、单卡,不设上限。

年会员 ¥365 —— 一天一块钱,续费一直能用。

了解会员 →

已是会员?点此登录解锁全文。

← 上一篇返回列表下一篇 →