Here's a short list of the changes to look forward to for #golang 1.17, to start landing once the merge window opens in a few weeks.

Don't get confused with 1.16, releasing next month. 1.17 will come out in seven months.

Each change with a link, so you can read more.
A register-based calling convention for Go functions. Backwards compatible, and should give 5-10% speed improvements across a range of applications.

github.com/golang/go/issu…
First class fuzzing support in the Go toolchain. This work has been happening behind the scenes in the dev.fuzz branch for some months, so I hope it will start landing for 1.17.

golang.org/s/draft-fuzzin…
Lazy module loading, which should especially help when developing large projects with deep module dependency graphs.

github.com/golang/go/issu…
Allowing replacement modules to alias other active modules. Useful when working with temporary forks.

github.com/golang/go/issu…
A language change! (*[4]int)(x) to get a slice's underlying array pointer, without the use of unsafe.

A small addition, but it opens interesting possibilities.

github.com/golang/go/issu…
Bonus round 1: The register-based ABI work is happening in the dev.regabi branch. It also includes large compiler refactors, which are enabling changes to make the compiler smarter in other areas.

go-review.googlesource.com/q/project:go+b…
Bonus round 2: The dev.typeparams branch continues to advance, implementing the latest generics proposal. Beware that it's not expected to start landing until Go 1.18, though.

go-review.googlesource.com/q/project:go+b…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Daniel Martí

Daniel Martí Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!