Home >Backend Development >Golang >Optimization list of Go 1.15 version [Summary]
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!
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!