Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: What's the status of dropping the binary package? #40650

Closed
cyantarek opened this issue Aug 8, 2020 · 1 comment
Closed

question: What's the status of dropping the binary package? #40650

cyantarek opened this issue Aug 8, 2020 · 1 comment

Comments

@cyantarek
Copy link

@cyantarek cyantarek commented Aug 8, 2020

Hi, our company uses the binary library heavily to encode and decode our custom made binary protocol over UDP.

I came across the issue where @rsc proposed to drop the binary package altogether.

As you already guessed, this will be a real problem for us. As we're planning to write more custom binary protocols for our internal use. And if the binary package is dropped, we got a real headache already.

So, may I know what's the final decision? And if you're gonna drop it, what should people like us do?

Thanks.

@ALTree
Copy link
Member

@ALTree ALTree commented Aug 8, 2020

I came across the issue where @rsc proposed to drop the binary package altogether.

No such thing.

You're probably thinking of #28152 (cmd/go: drop support for binary-only packages), which is a completely different thing (it's about binary-only Go packages, without source code). The encoding/binary package that you're using is not going anywhere. And it couldn't: Go has a strict backward compatibility promise:

It is intended that programs written to the Go 1 specification will continue to compile and run correctly, unchanged, over the lifetime of that specification.

Your programs using encoding/binary are safe, and they'll keep working in the future.

@ALTree ALTree closed this Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.