What’s new in Google’s Go language

Version 1.11 offers experimental support for WebAssembly and preliminary support for modules

Become An Insider

Sign up now and get FREE access to hundreds of Insider articles, guides, reviews, interviews, blogs, and other premium content. Learn more.

The team behind Google’s Go language, aka Golang, has released the beta version of Go 1.11, the next version of the popular open source language. Go 1.11 is expected to be in production release in August 2018. The most recent beta adds preliminary support for modules.

Next version: What’s new in the Go 1.11 beta

Go 1.11 features an experimental port to the WebAssembly binary format. The port is called JS/Wasm. In addition to potential application performance benefits, WebAssembly provides a binary format that serves as a compilation target for other languages, enabling deployment on the web for both client and server applications.

The July 2018 build of Go 1.11 has added preliminary support for modules, which are collections of related Go packages. Modules replace the Gopath approach to specifying which source files are in a build. With modules, version dependency information is explicit but lightweight. Builds are more reliable and reproducible, documentation states.

The modules capability is still in an experimental stage, so details are likely to change in response to feedback. But projects that convert to modules in Go Version 1.11 will continue to work with Go 1.12 and beyond.

To continue reading this article register now

ITWorld DealPost: The best in tech deals and discounts.
Shop Tech Products at Amazon