diff options
author | Russ Cox <rsc@golang.org> | 2020-03-09 23:54:35 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2020-03-17 20:58:37 +0000 |
commit | af5018f64e406aaa646dae066f28de57321ea5ce (patch) | |
tree | 8db7b1f049d83d215fa9abf68851efce7b5ccadb /content/go1.5.article | |
parent | 86e424fac66fa90ddcb7e8d7febd4c2b07d7c59e (diff) |
content: convert to Markdown-enabled present inputs
Converted blog to Markdown-enabled present (CL 222846)
using present2md (CL 222847).
For golang/go#33955.
Change-Id: Ib39fa1ddd9a46f9c7a62a2ca7b96e117635553e8
Reviewed-on: https://go-review.googlesource.com/c/blog/+/222848
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Diffstat (limited to 'content/go1.5.article')
-rw-r--r-- | content/go1.5.article | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/content/go1.5.article b/content/go1.5.article index 4abff05..a3e2fcd 100644 --- a/content/go1.5.article +++ b/content/go1.5.article @@ -1,42 +1,43 @@ -Go 1.5 is released +# Go 1.5 is released 19 Aug 2015 +Summary: Today the Go project is proud to release Go 1.5, the sixth major stable release of Go. Andrew Gerrand adg@golang.org -* Introduction +## Today the Go project is proud to release Go 1.5, the sixth major stable release of Go. This release includes significant changes to the implementation. -The compiler tool chain was [[https://golang.org/doc/go1.5#c][translated from C to Go]], +The compiler tool chain was [translated from C to Go](https://golang.org/doc/go1.5#c), removing the last vestiges of C code from the Go code base. -The garbage collector was [[https://golang.org/doc/go1.5#gc][completely redesigned]], -yielding a [[https://talks.golang.org/2015/go-gc.pdf][dramatic reduction]] +The garbage collector was [completely redesigned](https://golang.org/doc/go1.5#gc), +yielding a [dramatic reduction](https://talks.golang.org/2015/go-gc.pdf) in garbage collection pause times. Related improvements to the scheduler allowed us to change the default -[[https://golang.org/pkg/runtime/#GOMAXPROCS][GOMAXPROCS]] value +[GOMAXPROCS](https://golang.org/pkg/runtime/#GOMAXPROCS) value (the number of concurrently executing goroutines) from 1 to the number of logical CPUs. Changes to the linker enable distributing Go packages as shared libraries to link into Go programs, and building Go packages into archives or shared libraries that may be linked into or loaded by C programs -([[https://golang.org/s/execmodes][design doc]]). +([design doc](https://golang.org/s/execmodes)). -The release also includes [[https://golang.org/doc/go1.5#go_command][improvements to the developer tools]]. -Support for [[https://golang.org/s/go14internal]["internal" packages]] +The release also includes [improvements to the developer tools](https://golang.org/doc/go1.5#go_command). +Support for ["internal" packages](https://golang.org/s/go14internal) permits sharing implementation details between packages. -[[https://golang.org/s/go15vendor][Experimental support]] for "vendoring" +[Experimental support](https://golang.org/s/go15vendor) for "vendoring" external dependencies is a step toward a standard mechanism for managing dependencies in Go programs. -The new "[[https://golang.org/cmd/trace/][go tool trace]]" command enables the +The new "[go tool trace](https://golang.org/cmd/trace/)" command enables the visualisation of program traces generated by new tracing infrastructure in the runtime. -The new "[[https://golang.org/cmd/go/#hdr-Show_documentation_for_package_or_symbol][go doc]]" +The new "[go doc](https://golang.org/cmd/go/#hdr-Show_documentation_for_package_or_symbol)" command provides an improved command-line interface for viewing Go package documentation. -There are also several [[https://golang.org/doc/go1.5#ports][new operating system and architecture ports]]. +There are also several [new operating system and architecture ports](https://golang.org/doc/go1.5#ports). The more mature new ports are darwin/arm, darwin/arm64 (Apple's iPhone and iPad devices), and linux/arm64. @@ -44,34 +45,34 @@ There is also experimental support for ppc64 and ppc64le (IBM 64-bit PowerPC, big and little endian). The new darwin/arm64 port and external linking features fuel the -[[https://godoc.org/golang.org/x/mobile][Go mobile project]], an experiment to +[Go mobile project](https://godoc.org/golang.org/x/mobile), an experiment to see how Go might be used for building apps on Android and iOS devices. (The Go mobile work itself is not part of this release.) The only language change is very minor, -[[https://golang.org/doc/go1.5#language][the lifting of a restriction in the map literal syntax]] +[the lifting of a restriction in the map literal syntax](https://golang.org/doc/go1.5#language) to make them more succinct and consistent with slice literals. The standard library saw many additions and improvements, too. -The flag package now shows [[https://golang.org/doc/go1.5#flag][cleaner usage messages]]. -The math/big package now provides a [[https://golang.org/pkg/math/big/#Float][Float]] +The flag package now shows [cleaner usage messages](https://golang.org/doc/go1.5#flag). +The math/big package now provides a [Float](https://golang.org/pkg/math/big/#Float) type for computing with arbitrary-precision floating point numbers. -An [[https://golang.org/doc/go1.5#net][improvement]] to the DNS resolver on +An [improvement](https://golang.org/doc/go1.5#net) to the DNS resolver on Linux and BSD systems has removed the cgo requirement for programs that do name lookups. -The [[https://golang.org/pkg/go/types/][go/types]] package has been -[[https://golang.org/doc/go1.5#go_types][moved]] to the standard library from -the [[https://godoc.org/golang.org/x/tools][golang.org/x/tools]] repository. -(The new [[https://golang.org/pkg/go/constant/][go/constant]] and -[[https://golang.org/pkg/go/importer/][go/importer]] packages are also a result +The [go/types](https://golang.org/pkg/go/types/) package has been +[moved](https://golang.org/doc/go1.5#go_types) to the standard library from +the [golang.org/x/tools](https://godoc.org/golang.org/x/tools) repository. +(The new [go/constant](https://golang.org/pkg/go/constant/) and +[go/importer](https://golang.org/pkg/go/importer/) packages are also a result of this move.) The reflect package has added the -[[https://golang.org/pkg/reflect/#ArrayOf][ArrayOf]] and -[[https://golang.org/pkg/reflect/#FuncOf][FuncOf]] functions, analogous to the -existing [[https://golang.org/pkg/reflect/#SliceOf][SliceOf]] function. +[ArrayOf](https://golang.org/pkg/reflect/#ArrayOf) and +[FuncOf](https://golang.org/pkg/reflect/#FuncOf) functions, analogous to the +existing [SliceOf](https://golang.org/pkg/reflect/#SliceOf) function. And, of course, there is the usual -[[https://golang.org/doc/go1.5#minor_library_changes][list of smaller fixes and improvements]]. +[list of smaller fixes and improvements](https://golang.org/doc/go1.5#minor_library_changes). -For the full story, see the [[https://golang.org/doc/go1.5][detailed release notes]]. +For the full story, see the [detailed release notes](https://golang.org/doc/go1.5). Or if you just can't wait to get started, -head over to the [[https://golang.org/dl/][downloads page]] to get Go 1.5 now. +head over to the [downloads page](https://golang.org/dl/) to get Go 1.5 now. |