Go 1.11 正式发布

未匹配的标注

本文为官方 Go Blog 的中文翻译,详见 翻译说明

Andrew Bonventre
2018年8月24日

谁说星期五发布版本是个坏主意?

今天,Go小组很高兴的宣布Go 1.11的发布。您可以从下载页面获取它。

对工具链、运行时和库进行了许多更改和改进,但是两个功能特别令人兴奋,引人注意:模块和WebAssembly的支持。

此版本增加了对称为“模块”的新概念的初步支持,是对GOPATH的替代,具有对版本控制和程序包分发的集成支持。模块支持被认为是实验性的,仍然有一些粗糙的地方可以解决,因此请自由使用issue 追踪器

Go 1.11还为WebAssembly(js / wasm)添加了一个实验性的端口。这使程序员可以将Go程序编译为与四种主要web浏览器兼容的二进制格式。您可以在webassembly.org上了解有关WebAssembly(缩写为“ Wasm”)的更多信息,并参阅此Wiki页面开始使用Wasm和Go。特别感谢Richard Musiol为WebAssembly端口的贡献!

我们还要感谢通过编写代码、提交错误、提供反馈和/或测试Betas和版本候选者而对此版本做出贡献的所有人。您的贡献和勤奋帮助确保Go 1.11尽可能没有错误。也就是说,如果您确实发现任何问题,请 写一个 issue

有关Go 1.11中更改的更多详细信息,请参见发行说明

祝您有个愉快的周末,并享受这个新发布!

Andrew Bonventre
24 August 2018

Who says releasing on Friday is a bad idea?

Today the Go team is happy to announce the release of Go 1.11. You can get it from the download page.

There are many changes and improvements to the toolchain, runtime, and libraries, but two features stand out as being especially exciting: modules and WebAssembly support.

This release adds preliminary support for a new concept called “modules,” an alternative to GOPATH with integrated support for versioning and package distribution. Module support is considered experimental, and there are still a few rough edges to smooth out, so please make liberal use of the issue tracker.

Go 1.11 also adds an experimental port to WebAssembly (js/wasm). This allows programmers to compile Go programs to a binary format compatible with four major web browsers. You can read more about WebAssembly (abbreviated “Wasm”) at webassembly.org and see this wiki page on how to get started with using Wasm with Go. Special thanks to Richard Musiol for contributing the WebAssembly port!

We also want to thank everyone who contributed to this release by writing code, filing bugs, providing feedback, and/or testing the betas and release candidates. Your contributions and diligence helped to ensure that Go 1.11 is as bug-free as possible. That said, if you do notice any problems, please file an issue.

For more detail about the changes in Go 1.11, see the release notes.

Have a wonderful weekend and enjoy the release!

本文章首发在 LearnKu.com 网站上。

本译文仅用于学习和交流目的,转载请务必注明文章译者、出处、和本文链接
我们的翻译工作遵照 CC 协议,如果我们的工作有侵犯到您的权益,请及时联系我们。

原文地址:https://learnku.com/docs/go-blog/go1.11/...

译文地址:https://learnku.com/docs/go-blog/go1.11/...

上一篇 下一篇
Summer
贡献者:1
讨论数量: 0
发起讨论 只看当前版本


暂无话题~