From b032ce58f563d8141a3b19210422db32231b73a0 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Mon, 18 Mar 2013 15:27:05 -0700 Subject: doc/go1.1.html: document some of the library changes. Still much to do, but this is a start. R=golang-dev, adg, bradfitz, remyoudompheng CC=golang-dev https://codereview.appspot.com/7729046 --- doc/go1.1.html | 265 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 255 insertions(+), 10 deletions(-) (limited to 'doc/go1.1.html') diff --git a/doc/go1.1.html b/doc/go1.1.html index ae0a09939..9312e69f9 100644 --- a/doc/go1.1.html +++ b/doc/go1.1.html @@ -9,6 +9,7 @@ TODO - overview - link back to Go 1 and also Go 1 Compatibility docs. + - links through body of text

Changes to the language

@@ -33,7 +34,8 @@ In Go 1.1, an integer division by constant zero is not a legal program, so it is

Changes to the implementations and tools

-TODO: more +
  • TODO: more
  • +
  • TODO: unicode: surrogate halves in compiler, libraries, runtime
  • Command-line flag parsing

    @@ -59,7 +61,7 @@ more than 2 billion elements on 64-bit platforms. Updating: Most programs will be unaffected by this change. Because Go does not allow implicit conversions between distinct -numeric types, +numeric types, no programs will stop compiling due to this change. However, programs that contain implicit assumptions that int is only 32 bits may change behavior. @@ -129,8 +131,27 @@ before Go 1 to use Go 1 APIs. To update pre-Go 1 code to Go 1.1, use a Go 1.0 to to convert the code to Go 1.0 first.

    +

    Performance

    + +

    +TODO introduction +

    + + +

    Changes to the standard library

    +

    bufio.Scanner

    + +

    +TODO +

    +

    debug/elf

    Previous versions of the debug/elf package intentionally skipped over the first @@ -141,13 +162,6 @@ calls the debug/elf functions Symbols or ImportedSymbols may need to be adjusted to account for the additional symbol and the change in symbol offsets.

    -

    html/template

    - -

    -Templates using the undocumented and only partially implemented -"noescape" feature will break: that feature was removed. -

    -

    net

    @@ -168,6 +182,20 @@ with ReadFrom and WriteTo methods on the UnixConn.

    +

    reflect

    + +

    +TODO: +reflect: Select, ChanOf, MakeFunc, MapOf, SliceOf, Convert, Type.ConvertibleTo +

    + +

    runtime

    + +

    +TODO: +runtime: BlockProfile +

    +

    time

    On FreeBSD, Linux, NetBSD, OS X and OpenBSD, previous versions of the time package @@ -182,6 +210,10 @@ that can be used to remove precision from a time before passing it to external storage.

    +

    TODO: +time: ParseInLocation, Timer.Reset, Time.YearDay +

    +

    Exp and old subtrees moved to go.exp subrepo

    @@ -204,4 +236,217 @@ and then in Go source, import "code.google.com/p/go.exp/ssa" -

    TODO

    +

    Minor changes to the library

    + +

    +The following list summarizes a number of minor changes to the library, mostly additions. +See the relevant package documentation for more information about each change. +

    + + -- cgit v1.2.1