转载

Go 1.5 Beta1 发布

Go 1.5 Beta1 发布,这是一个不稳定版本,使用时请注意。这次更新包括主要的架构更改实施,尽管如此,我们希望所有的 Go 程序继续和以前一样汇编和运行,因为这次发布仍然保持 Go 1 承诺的兼容性 。

Go 1.5 主要改进:

  • The compiler and runtime are now written entirely in Go (with a little assembler). C is no longer involved in the implementation, and so the C compiler that was once necessary for building the distribution is gone.

  • The garbage collector is now concurrent and provides dramatically lower pause times by running, when possible, in parallel with other goroutines.

  • By default, Go programs run with GOMAXPROCS set to the number of cores available; in prior releases it defaulted to 1.

  • Support for internal packages is now provided for all repositories, not just the Go core.

  • The go command now provides experimental support for "vendoring" external dependencies.

  • A new go tool trace command supports fine-grained tracing of program execution.

  • A new go doc command (distinct from godoc ) is customized for command-line use.

更多详细内容请查看: http://tip.golang.org/doc/go1.5

下载地址: http://golang.org/dl/

https://github.com/golang/go/archive/go1.5beta1.zip

正文到此结束
Loading...