Russ Cox

Results 47 issues of Russ Cox

Somehow we missed the addition of binary.NativeEndian, which is listed in the API files, when preparing the Go 1.21 documentation. The existence in the API files marked with `#57237` should...

Builders
NeedsFix
release-blocker
FixPending

What tools understand vendor.json and can be expected to work with it? I don't actually know. I saw reference to Daniel's govendor earlier, which was the first I'd heard of...

I've been analyzing // +build usage in the Go ecosystem and turned up [internal/cpu/init.go](https://github.com/zchee/xxhash3/blob/2bc7ecb636bb3c1e0dd72857a39f185246b1d460/internal/cpu/init.go), which says: // +build 386 !gccgo,amd64 !gccgo,amd64p32 !gccgo It looks like the intent here was "(386...

bug

We propose to add a new package golang.org/x/exp/xiter that defines adapters on iterators. Perhaps these would one day be moved to the iter package or perhaps not. There are concerns...

Proposal

Overuse of //go:linkname to reach into Go standard library internals (especially runtime internals) means that when we do change the standard library internals in ways that should not matter, we...

NeedsInvestigation
release-blocker
compiler/runtime

With the use of atomic.Pointer in package sync, this program is now generating the full compiled code for atomic.Pointer into its object file even though it's not being used at...

NeedsFix
compiler/runtime

golang.org/x/tools/cmd/bisect is incredibly useful for binary-searching over potential bug locations when a compiler or library change causes a problem. There is a small package that handles the protocol of speaking...

Proposal

``` % cat x.go package p func f(int) string func g() { b := f(1) collect := func(min, max, stop int) []int { return nil } b := f(2) _...

NeedsFix
gabywins

``` % cat /tmp/x.go package main import "fmt" func main() { fmt.Printf☹("hello world") } % go build /tmp/x.go # command-line-arguments /tmp/x.go:6:6: undefined: fmt.Printf☹ /tmp/x.go:6:12: invalid character U+2639 '☹' in identifier...

NeedsFix
compiler/runtime
gabywins