Skip to content

Commit c4aa98e

Browse files
dmitshurpearring
andcommitted
content: add go1.16.article
For golang/go#44292. Updates golang/go#27155. Co-authored-by: Matt Pearring <[email protected]> Change-Id: I6e0d6731d5848f81fce7e77cbb068174462c0e4e Reviewed-on: https://go-review.googlesource.com/c/blog/+/292689 Trust: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 8b806c8 commit c4aa98e

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

content/go1.16.article

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Go 1.16 is released
2+
16 Feb 2021
3+
Summary: Go 1.16 adds embedded files, Apple silicon support, and more.
4+
5+
Matt Pearring
6+
7+
Dmitri Shuralyov
8+
9+
##
10+
11+
Today the Go team is very happy to announce the release of Go 1.16.
12+
You can get it from the [download page](https://golang.org/dl/).
13+
14+
The new
15+
[embed package](https://golang.org/doc/go1.16#library-embed)
16+
provides access to files embedded at compile time using the new `//go:embed` directive.
17+
Now it is easy to bundle supporting data files into your Go programs,
18+
making developing with Go even smoother.
19+
You can get started using the
20+
[embed package documentation](https://pkg.go.dev/embed).
21+
Carl Johnson has also written a nice tutorial,
22+
“[How to use Go embed](https://blog.carlmjohnson.net/post/2021/how-to-use-go-embed/)”.
23+
24+
Go 1.16 also adds
25+
[macOS ARM64 support](https://golang.org/doc/go1.16#darwin)
26+
(also known as Apple silicon).
27+
Since Apple’s announcement of their new arm64 architecture, we have been working closely with them to ensure Go is fully supported; see our blog post
28+
“[Go on ARM and Beyond](https://blog.golang.org/ports)”
29+
for more.
30+
31+
Note that Go 1.16
32+
[requires use of Go modules by default](https://golang.org/doc/go1.16#modules),
33+
now that, according to our 2020 Go Developer Survey,
34+
96% of Go developers have made the switch.
35+
We recently added official documentation for [developing and publishing modules](https://golang.org/doc/modules/developing).
36+
37+
Finally, there are many other improvements and bug fixes,
38+
including builds that are up to 25% faster and use as much as 15% less memory.
39+
For the complete list of changes and more information about the improvements above,
40+
see the
41+
[Go 1.16 release notes](https://golang.org/doc/go1.16).
42+
43+
We want to thank everyone who contributed to this release by writing code
44+
filing bugs, providing feedback, and testing the beta and release candidate.
45+
46+
Your contributions and diligence helped to ensure that Go 1.16 is as stable as possible.
47+
That said, if you notice any problems, please
48+
[file an issue](https://golang.org/issue/new).
49+
50+
We hope you enjoy the new release!

0 commit comments

Comments
 (0)