Go 1.15 Improves Linker
Written by Kay Ewbank   
Tuesday, 18 August 2020

Go 1.15 has been released with improvements to the linker along with better handling of allocation for small objects at high core counts. Alongside these improvements, there are changes to the implementation of the toolchain, runtime, and libraries.

Go is an open source project developed by a team at Google and many contributors from the open source community over more than 8 years. The main intended use is as a systems programming language, and it has been used in high profile commercial successes such as Docker.

goicon2The improvements to the linker are designed to reduce linker resource usage for both time and memory, and to improve code robustness and maintainability. The development team say that for a representative set of large Go programs, linking is 20 percent faster and requires 30 percent less memory on average for ELF-based OSes on AMD64 architectures, with more modest improvements for other architecture and OS combinations.

The improvements have been achieved through a newly redesigned object file format, and a revamping of internal phases to increase concurrency. The changes have meant that object files in Go 1.15 are slightly larger than their 1.14 equivalents.

Another improvements is that because the linker now defaults to internal linking mode for Linux on ARM64, such configurations no longer require a C linker. 

A new package, time/tzdata, has been included. This can be used to embed the timezone database into a program, which can then find timezone information even if the timezone database is not available on the local system.

Runtime improvements means that allocation of small objects now performs much better at high core counts, and has lower worst-case latency, and converting a small integer value into an interface value no longer causes allocation.

goicon2

More Information

Go Download Page

GoLang Org Webpage

Related Articles

Go 2 Details Revealed

Help Go Develop

Go 1.11 Adds WebAssembly Port
Go Drops The Gopher - The End is in Sight

Go SDK For Azure Released

Go Survey Revelations

Go At Eight

Why invent a new language? Go creator explains

A Programmer's Guide To Go

A Programmer's Guide To Go Part 2 - Objects And Interfaces

A Programmer's Guide To Go Part 3 - Goroutines And Concurrency 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


GitHub Announces Free Copilot
19/12/2024

GitHub has launched GitHub Copilot Free, a free version of Copilot that provides limited access to selected features of Copilot and is automatically integrated into VS Code. The free tier is aimed at  [ ... ]



AWS Releases Lambda SnapStart For .NET Functions
10/12/2024

Amazon has released new services for AWS Lambda SnapStart,  Amazon's performance optimization that aims to significantly improve the startup time for applications.


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 12 March 2021 )