Open source project developed by a team at Google and many contributors from the open source community.
Go version 1.9 moves confidently to final release. Second release candidate is now available.
Go 1.9 RC2 is released!
Run it in dev. Run it in prod. File bugs.
— Go (@golang) August 7, 2017
Let's figure out, what main features Go 1.9 has.
There are two changes to the language.
- Go now supports type aliases to support gradual code repair while moving a type between packages. The type alias design document and an article on refactoring cover the problem in detail. In short, a type alias declaration has the form:
type T1 = T2
This declaration introduces an alias name
T1—an alternate spelling—for the type denoted by
T2; that is, both
T2denote the same type.
- A smaller language change is that the language specification now states when implementations are allowed to fuse floating point operations together, such as by using an architecture's "fused multiply and add" (FMA) instruction to compute
zwithout rounding the intermediate result
x*y. To force the intermediate rounding, write
Use issue tracker to report any found bug.
If you have Go installed already, the easiest way to try go1.9rc2 is by using this tool.
You can download binary and source distributions from the usual place.
Documentation for Go 1.9 available here.