summaryrefslogtreecommitdiff
path: root/lang/go/version.mk
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2017-03-15 19:38:09 +0000
committerbsiegert <bsiegert>2017-03-15 19:38:09 +0000
commit97c890e43b4992c5f538d470a43b80e34e938fa7 (patch)
tree7b7d8606e8fc29e8cc16fdb8d914da0080b0d7b6 /lang/go/version.mk
parent4ce0d438d490fd6aea71409b81eeecd735c01958 (diff)
downloadpkgsrc-97c890e43b4992c5f538d470a43b80e34e938fa7.tar.gz
Update Go to 1.8.
The compiler back end introduced in Go 1.7 for 64-bit x86 is now used on all architectures, and those architectures should see significant performance improvements. For instance, the CPU time required by our benchmark programs was reduced by 20-30% on 32-bit ARM systems. There are also some modest performance improvements in this release for 64-bit x86 systems. The compiler and linker have been made faster. Compile times should be improved by about 15% over Go 1.7. There is still more work to be done in this area: expect faster compilation speeds in future releases. Garbage collection pauses should be significantly shorter, usually under 100 microseconds and often as low as 10 microseconds. The HTTP server adds support for HTTP/2 Push, allowing servers to preemptively send responses to a client. This is useful for minimizing network latency by eliminating roundtrips. The HTTP server also adds support for graceful shutdown, allowing servers to minimize downtime by shutting down only after serving all requests that are in flight. Contexts (added to the standard library in Go 1.7) provide a cancelation and timeout mechanism. Go 1.8 adds support for contexts in more parts of the standard library, including the database/sql and net packages and Server.Shutdown in the net/http package. Go 1.8 includes many more additions, improvements, and fixes. Find the complete set of changes, and more information about the improvements listed above, in the Go 1.8 release notes: https://golang.org/doc/go1.8
Diffstat (limited to 'lang/go/version.mk')
-rw-r--r--lang/go/version.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/go/version.mk b/lang/go/version.mk
index 42ef41f9f05..76efdaf148a 100644
--- a/lang/go/version.mk
+++ b/lang/go/version.mk
@@ -1,8 +1,8 @@
-# $NetBSD: version.mk,v 1.22 2017/01/30 03:04:53 wen Exp $
+# $NetBSD: version.mk,v 1.23 2017/03/15 19:38:09 bsiegert Exp $
.include "../../mk/bsd.prefs.mk"
-GO_VERSION= 1.7.5
+GO_VERSION= 1.8
GO14_VERSION= 1.4.3
ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-*arm*