Get the App
SLTechnology News&Howtos  ›  IT Information  › 

Google releases programming language Go 1.20: the last version that supports old systems such as Win7 and Win8

Shulou Source: shulou.com Published: 2023-11-24 14:22:04 11月15日 Update

CTOnews.com, February 2 (Xinhua)-- Google today released a new 1.20 version of the programming language Go, which is about to remove support for old versions of Microsoft Windows and Apple macOS, and add a number of new features / features that deserve attention.

The two most noteworthy improvements in the Go 1.20 update include initial support for the profile Boot Optimization (PGO) version, and support for functional versions of the CPU architecture, such as the x86room64 microarchitecture, Flag.

CTOnews.com attached the main updates of Go 1.20:

Go 1.20 is the last version that supports Microsoft Windows 7 / 8 / Server 2008 / Server 2012. Starting with Go 1.21, users need to run on Windows 10 or Windows Server 2016 and later.

Go 1.20 also abandoned support for the macOS 10.13 and 10.14 series.

Experimental support for FreeBSD on RISC-V has been introduced.

The $GOROOT / pkg directory no longer stores standard archived precompiled package archives, which can reduce the size of Go distributions.

The go command can now define schema functions such as AMD64.V2 Flag to allow package implementation files to be selected based on the presence or absence of specific CPU schema functions. This is good news for x86'64 microarchitecture feature-level work.

Go build and go install and other build-related commands now support the "- cover" flag to enable builds with code coverage detection.

Optimize the garbage collector to reduce memory footprint 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.

A new crypto / ecdh package is introduced to provide explicit support for NIST curve and elliptic curve Diffie-Hellman key exchange on Curve25519.

Tags: Support version architecture function command file curve feature archive update select system programming language language programming code brand new memory content dynamic Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi NVidia Microsoft macOS Docker