Ian Lance Taylor

Results 17 issues of Ian Lance Taylor

Linux kernel 5.11 (February, 2021) added the `epoll_pwait2` system call. It is exactly like `epoll_pwait` except that the timeout argument is a `struct timespec`. This permits specifying a timeout with...

Performance
help wanted
NeedsFix
compiler/runtime

# Background This proposal started out as a GitHub discussionn at https://github.com/golang/go/discussions/53060. Go supports a number of different GOOS/GOARCH targets. We've defined a policy for adding new ports, described at...

Proposal
Proposal-FinalCommentPeriod

There is a story about optimization at https://about.gitlab.com/2018/01/23/how-a-fix-in-go-19-sped-up-our-gitaly-service-by-30x/ . It's not the main point of the story, but they mention that they saw a lot of contention on `syscall.ForkLock`. On...

Performance
NeedsFix
compiler/runtime

Replaces pull request #3962, which did a full update of github.com/klauspost/compress/flate and golang.org/x/sys/unix, which failed to build with older versions of Go. Instead just cherrypick the changes required for gccgo...

In Go 1.17 we have introduced a conversion that can panic (#395). This is the first case in which a conversion can panic. This means that code that calls `reflect.Type.ConvertibleTo`...

Proposal
Proposal-Accepted
Proposal-FinalCommentPeriod
compiler/runtime

This issue is broken out of #29036. We should remove dot imports from the language (`import . "path"`). Quoting @rogpeppe: > The official guidelines suggest that a dot import should...

LanguageChange
v2
Proposal
NeedsDecision

In #47649 @rsc proposed a new maps package in the standard library based on discussion in #47330. After we settled on an API we added the experimental package [golang.org/x/exp/maps](https://pkg.go.dev/golang.org/x/exp/maps). We...

Proposal
generics

In #45955 I proposed a new slices package in the standard library. After considerable discussion there and in discussion #47203 we settled on an API and added the experimental package...

Proposal
generics

In Go 1.21 we are introducing some new functions in the unsafe package: `unsafe.Slice`, `unsafe.SliceData`, `unsafe.String`, `unsafe.StringData`. It should be possible to access this functionality through the reflect package as...

Proposal

### Proposal Details ## Background There are various algorithms that are not easy to write in Go with generics because they are naturally expressed using an unknown number of type...

LanguageChange
v2
Proposal
dotdotdot