Go 1.1 is released! [转]

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!

相关文章

程序目录结构 简单实现,用户登录后返回一个jwt的token,下次请求带上token请求用户信息接口并返回信息...
本篇博客的主要内容是用go写一个简单的Proof-of-Work共识机制,不涉及到网络通信环节,只是一个本地的简...
简介 默克尔树(MerkleTree)是一种典型的二叉树结构,其主要特点为: 最下面的叶节点包含存储数据或其...
接下来学习并发编程, 并发编程是go语言最有特色的地方, go对并发编程是原生支持. goroutine是go中最近本...
先普及一下, 什么是广度优先搜索 广度优先搜索类似于树的层次遍历。从图中的某一顶点出发,遍历每一个顶...
第一天: 接口的定义和实现 第二天: 一. go语言是面向接口编程. 在学习继承的时候说过, go语言只有封装,...