aboutsummaryrefslogtreecommitdiff
path: root/content/go12.article
diff options
context:
space:
mode:
authorAgniva De Sarker <agnivade@yahoo.co.in>2018-04-14 00:23:09 +0530
committerAndrew Bonventre <andybons@golang.org>2018-04-13 19:50:50 +0000
commit7edc962a942e4a9d5e06dde79299f7fc5605f000 (patch)
treed05d3cbb132e60ace21a28184833cc4b31ef59c3 /content/go12.article
parentefc7460c787535c46feadda9f7c395f16a615306 (diff)
content: update all golang.org links to https
Ran sed -i 's/\[\[http:\/\/golang.org/\[\[https:\/\/golang.org/g' *.article Change-Id: I88acc5104e1a3fc5e9a1cf11b600b657202d8997 Reviewed-on: https://go-review.googlesource.com/106955 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
Diffstat (limited to 'content/go12.article')
-rw-r--r--content/go12.article30
1 files changed, 15 insertions, 15 deletions
diff --git a/content/go12.article b/content/go12.article
index eb99788..1161c15 100644
--- a/content/go12.article
+++ b/content/go12.article
@@ -10,37 +10,37 @@ We are pleased to announce the release of Go 1.2, the latest stable version of
the Go Programming Language.
Binary distributions may be downloaded from the
-[[http://golang.org/doc/install][usual place]] or if you prefer to
-[[http://golang.org/doc/install/source][compile from source]] you should use
+[[https://golang.org/doc/install][usual place]] or if you prefer to
+[[https://golang.org/doc/install/source][compile from source]] you should use
the `release` or `go1.2` tags.
This new release comes nearly seven months after the release of Go 1.1 in May,
a much shorter period than the 14 months between 1.1 and 1.0.
We anticipate a comparable interval between future major releases.
-[[http://golang.org/doc/go1.2][Go 1.2]] includes a couple of minor
+[[https://golang.org/doc/go1.2][Go 1.2]] includes a couple of minor
language changes, several improvements to the language implementation and
tools, some performance improvements, and many additions and
(backward-compatible) changes to the standard library.
-Please read the [[http://golang.org/doc/go1.2][release notes]] for all
+Please read the [[https://golang.org/doc/go1.2][release notes]] for all
the details, as some changes may affect the behavior of existing (buggy) programs.
What follows is the highlights of the release.
-A new [[http://golang.org/doc/go1.2#three_index][three-index slice syntax]]
+A new [[https://golang.org/doc/go1.2#three_index][three-index slice syntax]]
adds the ability to specify capacity as well as length. This allows the
programmer to pass a slice value that can only access a limited portion of the
underlying array, a technique that previously required the use of the unsafe
package.
A major new feature of the tool chain is the facility to compute and display
-[[http://golang.org/doc/go1.2#cover][test coverage results]].
-See the [[http://golang.org/cmd/go/#hdr-Description_of_testing_flags][`go`test`]]
+[[https://golang.org/doc/go1.2#cover][test coverage results]].
+See the [[https://golang.org/cmd/go/#hdr-Description_of_testing_flags][`go`test`]]
and [[http://godoc.org/code.google.com/p/go.tools/cmd/cover/][cover tool]]
documentation for details. Later this week we will publish an article that
discusses this new feature in detail.
-Goroutines are now [[http://golang.org/doc/go1.2#preemption][pre-emptively scheduled]],
+Goroutines are now [[https://golang.org/doc/go1.2#preemption][pre-emptively scheduled]],
in that the scheduler is invoked occasionally upon entry to a function.
This can prevent busy goroutines from starving other goroutines on the same
thread.
@@ -49,17 +49,17 @@ An increase to the default goroutine stack size should improve the
performance of some programs. (The old size had a tendency to introduce
expensive stack-segment switching in performance-critical sections.)
On the other end, new restrictions on
-[[http://golang.org/doc/go1.2#stack_size][stack sizes]] and
-[[http://golang.org/doc/go1.2#thread_limit][the number of operating system threads]]
+[[https://golang.org/doc/go1.2#stack_size][stack sizes]] and
+[[https://golang.org/doc/go1.2#thread_limit][the number of operating system threads]]
should prevent misbehaving programs from consuming all the resources of a
machine. (These limits may be adjusted using new functions in the
-[[http://golang.org/pkg/runtime/debug][`runtime/debug` package]].)
+[[https://golang.org/pkg/runtime/debug][`runtime/debug` package]].)
-Finally, among the [[http://golang.org/doc/go1.2#library][many changes to the standard library]],
+Finally, among the [[https://golang.org/doc/go1.2#library][many changes to the standard library]],
significant changes include
-the new [[http://golang.org/doc/go1.2#encoding][`encoding` package]],
-[[http://golang.org/doc/go1.2#fmt_indexed_arguments][indexed arguments]] in `Printf` format strings, and
-some [[http://golang.org/doc/go1.2#text_template][convenient additions]] to the template packages.
+the new [[https://golang.org/doc/go1.2#encoding][`encoding` package]],
+[[https://golang.org/doc/go1.2#fmt_indexed_arguments][indexed arguments]] in `Printf` format strings, and
+some [[https://golang.org/doc/go1.2#text_template][convenient additions]] to the template packages.
As part of the release, the [[http://play.golang.org/][Go Playground]] has been
updated to Go 1.2. This also affects services that use the Playground, such as