Optimization list of Go 1.15 version [Summary]

藏色散人
Release: 2020-08-13 11:42:05
forward
3975 people have browsed it

The following column will introduce to you the optimization list [Summary] of the Go 1.15 version from the Golang Tutorial column. I hope it will be helpful to friends in need!

Optimization list of Go 1.15 version [Summary]

Go 1.15 This update is very important for a popular modern programming language.

Go 1.15 This update brings many improvements, including Here's the explanation:

  • Go The linker now has lower resource usage, is faster, and has better code quality. Typically, for large Go applications, the linking process is about 20% faster than before, while memory usage is about 30% lower.

  • Go 1.15 binaries are about 5% smaller than Go 1.14.

  • The "-spectre" flag was added in Go 1.15 to enable Specter mitigations for the compiler and assembler.

  • Go now supports mitigates the Intel JCC Erratum by aligning functions to 32-byte boundaries and padding jump instructions.

  • Now, Go has better OpenBSD support for ARM/ARM64, and as before, it has good state support for i386 and AMD64.

  • The Go 64-bit RISC-V port is now available It has relatively high stability and performance, and supports asynchronous preemption and other functions.

  • Continue to use 32-bit x86 hardware, now you need to have the support of adding SSE2 CPU.

  • Now using higher core count systems, allocating small objects is much faster than previous versions.

For more details about Go 1.15, please check out Release Notes.

Original address: https://www.phoronix.com/scan.php?page=news_item&px=Go-1.15-Released

Translated address: https:/ /learnku.com/go/t/48344

The above is the detailed content of Optimization list of Go 1.15 version [Summary]. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:learnku.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!