Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ugh. I hate how we (Google) launched proto editions.

It used to be that we broadly had two sets of semantics (modulo additional customizations): proto2 and proto3. Proto editions was supposed to unify the two versions, but instead now we have the option to mix and match all of the quirks of each of the versions.

And, to make matters worse, you also have language-dependent implementations that don't conform to the spec (in fact, very few implementations are conformant). C++ and Java treat everything imported by a proto2 file as closed; C#, Golang, and JS treat everything as open.

I don't see a path forward for removing these custom deprecated field features, or else we'd have already begun that effort during the initial adoption of editions.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: