It is our great pleasure to announce the release of Go 1.1.
In March last year we released Go 1.0, and since then we have released three minor "point releases". The point releases were made to fix only critical issues, so the Go 1.0.3 you use today is still, in essence, the Go 1.0 we released in March 2012.
Go 1.1 includes many improvements over 1.0.
The most significant improvements are performance-related. We have made optimizations in the compiler and linker, garbage collector, goroutine scheduler, map implementation, and parts of the standard library. It is likely that your Go code will run noticeably faster when built with Go 1.1.
There are some minor changes to the language itself, two of which are worth singling out here: the changes to return requirements will lead to more succinct and correct programs, and the introduction of method values provides an expressive way to bind a method to its receiver as a function value.
Concurrent programming is safer in Go 1.1 with the addition of a race detector for finding memory synchronization errors in your programs. We will discuss the race detector more in an upcoming article, but for now the manual is a great place to get started.
The tools and standard library have been improved and expanded. You can read the full story in the release notes.
As per our compatibility guidelines, Go 1.1 remains compatible with Go 1.0 and we recommend all Go users upgrade to the new release.
All this would not have been possible without the help of our contributors from the open source community. Since Go 1.0, the core received more than 2600 commits from 161 people outside Google. Thank you everyone for your time and effort. In particular, we would like to thank Shenghou Ma, Rémy Oudompheng, Dave Cheney, Mikio Hara, Alex Brainman, Jan Ziak, and Daniel Morsing for their outstanding contributions.
To grab the new release, follow the usual installation instructions. Happy hacking!
Thanks to Renée French for the gopher!

Go 1.1 版本发布,引入了多项性能优化,包括编译器、链接器、垃圾回收、协程调度、映射实现和标准库部分的改进。此外,语言本身也进行了两个重要的调整,使得程序更简洁正确,并增加了方法值特性,使并发编程更加安全。
1万+

被折叠的 条评论
为什么被折叠?



