TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Protobuf Editions are here: don't panic

31 点作者 perezd大约 1 年前

6 条评论

jujube3大约 1 年前
Oh look, Google is shipping their org chart again.<p><pre><code> &gt; What problems are Editions solving? &gt; &gt; In short, nothing really (for end users). The introduction of Editions &gt; is the result of major Google-internal refactoring of how protoc and its &gt; plugin architecture implements and observes feature checks when generating &gt; code. This isn’t intended to force breaking changes to existing projects, &gt; nor is it designed to impact any of the existing encodings. &gt; &gt; It should be a boring change that gives plugin maintainers finer-grained &gt; control over how future versions of their Protobuf runtimes behave, &gt; improvements are made, and new features are introduced. Having said that, &gt; it’s impossible to ignore the explosion of verbosity that Editions has &gt; introduced to the project as a side-effect of this level of available control. </code></pre> According to Google themselves, this change &quot;solves no user problems&quot; and introduces &quot;an explosion of verbosity.&quot;
评论 #40314309 未加载
评论 #40314535 未加载
评论 #40314345 未加载
hot_gril大约 1 年前
I&#x27;ve always liked the simplicity of protobuf, and this change seems to add unnecessary complexity. And: &quot;What problems are Editions solving? In short, nothing really (for end users). The introduction of Editions is the result of major Google-internal refactoring[...]&quot;
评论 #40314617 未加载
评论 #40314141 未加载
tb303大约 1 年前
&gt; It’s unclear what an edition&#x27;s official support lifetime will be today, although Google has suggested it might be “like 10 years.”<p>ambiguous timeline? sounds right for google.
评论 #40314349 未加载
rco8786大约 1 年前
As if I couldn’t hate protobufs any more. They go and layer on yet more complexity.<p>These sorts of things need to be as simple as humanly possibly and get out of your way so you can actually do some programming. Instead protobufs are the opposite. Full of backwards compat issues, footguns, and needless complexity that make them an absolute horror to work with.
评论 #40314254 未加载
candiddevmike大约 1 年前
I still don&#x27;t understand why protobuf has to be in so many Go libraries. It&#x27;s impossible to avoid unless you roll your own metrics, logging, maybe even mux...
评论 #40313804 未加载
评论 #40313768 未加载
评论 #40314072 未加载
评论 #40313833 未加载
评论 #40313939 未加载
perezd大约 1 年前
Google is days away from making Protobuf Editions GA. Never heard of it? Read on.
评论 #40313638 未加载