Live data from Hacker News

Protobuf Editions are here: don't panic

buf.build

1–10 of 58 posts

Re: Protobuf Editions are here: don't panic

#5
post #4
post #2

Google is days away from making Protobuf Editions GA. Never heard of it? Read on.

What’s the meaning behind this comment?

Many folks don't know about what Protobuf Editions are, and it's about to be generally available. I was encouraging people to read the article :)

Re: Protobuf Editions are here: don't panic

#7

I still don't understand why protobuf has to be in so many Go libraries. It's impossible to avoid unless you roll your own metrics, logging, maybe even mux...

It's simple, lightweight, safe serialization. If you need to convert data structures to bytes, you're going to use protobuf or something comparable.

Re: Protobuf Editions are here: don't panic

#8

I still don't understand why protobuf has to be in so many Go libraries. It's impossible to avoid unless you roll your own metrics, logging, maybe even mux...

Even if protobuf isn't your preferred serializer, having any tight binary format be the standard across the ecosystem is miles better than everything slinging JSON around.

Lord knows how much energy we are wasting turning binary data into human readable text that no human will ever look at before it's parsed back into binary.

Re: Protobuf Editions are here: don't panic

#9

I still don't understand why protobuf has to be in so many Go libraries. It's impossible to avoid unless you roll your own metrics, logging, maybe even mux...

Because the same group in google developed both, indeed.

They were developed as a microservice high-performance lang, compiler, and serialization protocol in the same meetings.

Re: Protobuf Editions are here: don't panic

#10
I've always liked the simplicity of protobuf, and this change seems to add unnecessary complexity. And: "What problems are Editions solving? In short, nothing really (for end users). The introduction of Editions is the result of major Google-internal refactoring[...]"
Post reply on HN