Skip to content

Commit 75b5364

Browse files
committed
doc: tweak Go 1.4 release notes
LGTM=dave, dsymonds R=golang-codereviews, dave, dsymonds CC=golang-codereviews https://golang.org/cl/184350043
1 parent 7412503 commit 75b5364

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

doc/go1.4.html

+14-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ <h2 id="introduction">Introduction to Go 1.4</h2>
88

99
<p>
1010
The latest Go release, version 1.4, arrives as scheduled six months after 1.3.
11+
</p>
12+
13+
<p>
1114
It contains only one tiny language change,
1215
in the form of a backwards-compatible simple variant of <code>for</code>-<code>range</code> loop,
1316
and a possibly breaking change to the compiler involving methods on pointers-to-pointers.
17+
</p>
18+
19+
<p>
1420
The release focuses primarily on implementation work, improving the garbage collector
1521
and preparing the ground for a fully concurrent collector to be rolled out in the
1622
next few releases.
@@ -21,6 +27,9 @@ <h2 id="introduction">Introduction to Go 1.4</h2>
2127
for build-time source code generation.
2228
The release also adds support for ARM processors on Android and Native Client (NaCl)
2329
and for AMD64 on Plan 9.
30+
</p>
31+
32+
<p>
2433
As always, Go 1.4 keeps the <a href="/doc/go1compat.html">promise
2534
of compatibility</a>,
2635
and almost everything
@@ -35,7 +44,7 @@ <h3 id="forrange">For-range loops</h3>
3544
</p>
3645

3746
<pre>
38-
for k, v := range x {
47+
for i, v := range x {
3948
...
4049
}
4150
</pre>
@@ -45,7 +54,7 @@ <h3 id="forrange">For-range loops</h3>
4554
</p>
4655

4756
<pre>
48-
for k := range x {
57+
for i := range x {
4958
...
5059
}
5160
</pre>
@@ -172,7 +181,7 @@ <h2 id="impl">Changes to the implementations and tools</h2>
172181
<h3 id="runtime">Changes to the runtime</h3>
173182

174183
<p>
175-
Up to Go 1.4, the runtime (garbage collector, concurrency support, interface management,
184+
Prior to Go 1.4, the runtime (garbage collector, concurrency support, interface management,
176185
maps, slices, strings, ...) was mostly written in C, with some assembler support.
177186
In 1.4, much of the code has been translated to Go so that the garbage collector can scan
178187
the stacks of programs in the runtime and get accurate information about what variables
@@ -198,7 +207,7 @@ <h3 id="runtime">Changes to the runtime</h3>
198207

199208
<p>
200209
The use of contiguous stacks means that stacks can start smaller without triggering performance issues,
201-
so the default starting size for a goroutine's stack in 1.4 has been reduced to 2048 bytes from 8192 bytes.
210+
so the default starting size for a goroutine's stack in 1.4 has been reduced from 8192 bytes to 2048 bytes.
202211
</p>
203212

204213
<p>
@@ -532,7 +541,7 @@ <h3 id="misc">Miscellany</h3>
532541
The Go community at large is much better suited to managing this information.
533542
In Go 1.4, therefore, this support has been removed from the repository.
534543
Instead, there is a curated, informative list of what's available on
535-
a <a href="//golang.org/wiki/wiki/IDEsAndTextEditorPlugins">wiki page</a>.
544+
a <a href="//golang.org/wiki/IDEsAndTextEditorPlugins">wiki page</a>.
536545
</p>
537546

538547
<h2 id="performance">Performance</h2>

0 commit comments

Comments
 (0)