Hello everyone.
Maybe some students have updated Go 1.18.5 yesterday, and they may have to update it again today. Just this morning the Go team released Go 1.19 again.
The Go 1.19 amd64 version is 144MB, and the Go 1.18.5 amd64 version is 137MB. The difference between the two versions is 7MB. The binary files of the Go version have been continuously getting larger. Do you know the reason? Comments welcome.
The following image shows some of the changes in Go 1.19:
Let's look at the last item in the picture above: all: delete AUTHORS, CONTRIBUTORS files.
As the name suggests, you can see your nickname in two files in your project if you are in versions prior to Go 1.19, but there is no documentation for Go 1.19 and later.
the reason is:
In 2009, Google's open source lawyers asked us to create author files to define "Go Author".
When we re-examine our repositories in 2022, open source lawyers feel comfortable with the source control history serving the purpose, so that means we can remove author and contributor files from all repositories. So Russ Cox decided to remove them, allowing us to close #12042 once and for all ( https://github.com/golang/go/issues/12042 ).
Some people pointed out that after removal, there is no way to easily prove that you have contributed to Go. To solve this problem, Russ Cox will add a page to the website to show all the contributors:
https://tip.golang.org/AUTHORS
This update involves a lot of updates:
-
Partial performance optimization
-
Go Doc comments support links, lists, and cleaner header syntax. -
Memory reclamation adds a soft memory limit support. -
The Go memory model is aligned with the memory model used by C, C++, Java, JavaScript, Rust and Swift. -
Some security issues have been updated.
There are also many changes in the standard library. Click to read the original text to go directly.
https://go.dev/blog/go1.19
Follow Go Night Reading Knowledge Planet to get the latest news and related knowledge of Go language👇
I am Yang Wen, the initiator of Go Night Reading, the anchor of Go Night Chat, and the Contributor of Go, TiDB and other open source projects. In 2014, I came into contact with the Go language and built a micro-service architecture with tens of millions of users.
In 2018, Go Night Reading was created, and GitHub has accumulated 15K. It continues to output the latest content and principle analysis of Go language for community partners. It will also invite industry leaders and well-known open source project authors to share their work experience and architecture design. Everyone is very welcome to pay attention to "Go Night Reading" and grow together! Also welcome to add my WeChat to communicate: night_reading_go .