Today, Google released version 1.20 of its programming language Go, announcing that it will cancel support for older versions of Windows and macOS, and add a lot of new features.
According to the update log, version 1.20 will be the last version of the Go language that supports Winodws 7/8 and Server 2008/2012. Starting from 1.21, users need to run on Windows 10 or Windows Server 2016 and later versions.
At the same time, 1.20 will also be the last version to support macOS 10.13 and 10.14.
In other respects, the update content of version 1.20 is as follows:
– Introduced experimental support for FreeBSD on RISC-V.
– The $GOROOT/pkg directory no longer stores precompiled package archives for standard archives, which can reduce the size of Go distributions.
The -go command can now define architecture feature flags such as AMD64.V2 to allow package implementation files to be selected based on the presence or absence of specific CPU architecture features. This is good news for x86_64 microarchitecture feature level work.
-go build and go install and other build-related commands now support a “-cover” flag for enabling builds with code coverage detection.
– Optimize the garbage collector, reduce memory usage, and improve CPU performance by up to 2%.
-Preview support for Profile Guided Optimizations (PGO).
– On Linux, the linker can choose a dynamic interpreter for glibc or musl.
– Introduced new crypto/ecdh package with explicit support for elliptic curve Diffie-Hellman key exchange on NIST curves and Curve25519.
The text and pictures in this article are from Drive Home
This article is transferred from https://www.techug.com/post/do-you-also-need-to-upgrade-the-system-for-programming-google-go-language-will-stop-supporf5cc46489e74e45e6401/
This site is only for collection, and the copyright belongs to the original author.