Russ Cox

Results 790 comments of Russ Cox

I see no reason whatsoever to delete the old functionality. It works for older versions and those versions are not changing. If you revise the PR to simply add the...

Thanks for the bug report. As a workaround, you can use gofmt -r 'unsafe.Pointer(uintptr(p) + o) -> unsafe.Add(p, o)' -w . to do this.

I need to get some time to rethink the entire structure of this command. It's a good v0 but not a great v1. That's why I haven't really been promoting...

I suppose we could make it so that if you do -> { ... } then maybe we could drop the { } during the insert, although then if you...

I am running into this too, with errors as a dependency of pebble. Bringing in gogo/protobuf brings in references to very old other packages that I can't eliminate. The normal...

> I think ... there are safe ways to pull internal packages from the std. I completely disagree. Quic-go's use of linkname caused all manner of problems for us release...

I ran a scan against an updated copy of my Go corpus, filtered to packages with at least N direct+indirect dependents. Here are the results for varying N. Each file...

This proposal has been added to the [active column](https://go.dev/s/proposal-status#active) of the proposals project and will now be reviewed at the weekly proposal review meetings. — rsc for the proposal review...

Platform is a bit odd since Go is a platform too, and "the GOOS-GOARCH target platform" sounds like Go too. What about structs.HostLayout, and don't mention GOOS-GOARCH in the docs?...

This proposal has been added to the [active column](https://go.dev/s/proposal-status#active) of the proposals project and will now be reviewed at the weekly proposal review meetings. — rsc for the proposal review...