TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Protobuf Editions are here: don't panic

31 pointsby perezdabout 1 year ago

6 comments

jujube3about 1 year ago
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_grilabout 1 year ago
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 未加载
tb303about 1 year ago
&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 未加载
rco8786about 1 year ago
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 未加载
candiddevmikeabout 1 year ago
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 未加载
perezdabout 1 year ago
Google is days away from making Protobuf Editions GA. Never heard of it? Read on.
评论 #40313638 未加载