Go 1.10 Adds Automatic Caching
Go 1.10 Adds Automatic Caching
Written by Kay Ewbank   
Monday, 19 February 2018

There's a new release of Go with automatic caching of build and test results. Version 1.10 is the first major release after the announcement of Go 2.0. 

Go is an open source project developed by a team at Google and many contributors from the open source community over more than 8 years. The main intended use is as a systems programming language, and it has been used in high profile commercial successes such as Docker.

While there are some minor changes to the  language, most of its changes are in the implementation of the toolchain, runtime, and libraries.The changes to the tooling are designed to improve testing in large and very large projects and to prepare for Go 2.0. The improvements offer better caching of built packages, adds caching of successful test results, runs vet automatically during tests, and permits passing string values directly between Go and C using cgo.

Go build can now detect changes in files on a source code level rather than rely on timestamps, which means that it will be more accurate in rebuilding the packages that have changed.

The changes to go test mean that it will now cache the results of the tests if they meet certain criteria such as:

  • the test executable and command line match a previous run
  • the files and environment variables used by that run have not changed
  • the results are successful
  • the go test command received a list of packages to test, go test ./... for example
  • the test command line uses a subset of the test flags, -cpu, -list, -parallel, -run, -short, and -v

To celebrate the release, Go User Groups around the world are holding release parties.

goblack

 

More Information

Go Release Notes

Release Parties details

Related Articles

Go At Eight 

Go 1.9 Adds Parallel Compilation

Go 1.8 Goes Faster

Go Language Of The Year With Dart Catching Up 

Go Turns Seven With Lots Of Attention 

Go 1.7 Goes Faster and in More Directions

Go 1.6 Released

Go 1.5 In Beta

Go 1.4 gets Android support 

Go 1.3 Released

A Programmer's Guide To Go

Why invent a new language? Go creator explains

Go Is Four

Go with Google - Yet Another Language!

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.

 

Banner


NativeScript Adds LiveSync with Webpack
01/06/2018

The new release of NativeScript has the ability to enable LiveSync with Webpack simultaneously. Other improvements in  NativeScript 4.1 include more flexible frame composition and an enterprise a [ ... ]



Supreme Court To Rule On Apple App Store Monopoly
20/06/2018

There's another strange twist in the story of the modern app store - the Supreme Court has decided that it will rule on whether or not the Apple App Store is a monopoly or not. The strange part is tha [ ... ]


More News

 

justjsquare

 



 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 19 February 2018 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.