diff --git a/doc/go1.3.html b/doc/go1.3.html new file mode 100644 index 0000000000..5d21ed6805 --- /dev/null +++ b/doc/go1.3.html @@ -0,0 +1,183 @@ + + +

Introduction to Go 1.3

+ +

+The latest Go release, version 1.3, arrives six months after 1.2, +and contains no language changes. +It does have some important developments, though, +including a refinement to the memory model regarding synchronization, +precise garbage collection, +significant performance improvements, +including TODO, +and support for Google's Native Client architecture (NaCl). +As always, Go 1.3 keeps the promise +of compatibility, +and almost everything +will continue to compile and run without change when moved to 1.3. +

+ +

Changes to the supported operating systems and architectures

+ +

Support for Native Client

+

+TODO +

+ +

Support for Solaris

+ +

+TODO +

+ + +

Removal of support for Windows 2000

+ +

+TODO +windows 2000 removed (CL 74790043) +

+ + +

Changes to the memory model

+ +

+TODO: +early go documentation suggested using a channel as a semaphore like this: (previous example). +the go memory model has been updated to make explicit that this idiom is allowed. (new example). +the previous example is also correct, just requiring needless func init work. +(CL 75130045) +

+ +

Changes to the implementations and tools

+ +

Stack

+ +

+TODO stack copying, no longer segmented +

+ +

Stack size

+ +

+Go 1.2 increased the minimum stack size to 8 kilobytes; with the new stack model, it has been +put back to 4 kilobytes. +

+ +

+Updating: TODO +

+ +

Changes to the garbage collector

+ +

+precision (TODO what to say) +liveness (TODO what to say) +

+ + + +

+TODO compiler/linker boundary moved +

+ +

+Updating: TODO +

+ +

Status of gccgo

+ +

+TODO +

+ +

Changes to the go command

+ +

+TODO +cmd/go, go/build: support .m files (CL 60590044) +cmd/go: add -exec to 'go run' and 'go test' (CL 68580043) +cmd/go: cover -atomic for -race (CL 76370043) +

+ +

Miscellany

+ + + + +

Performance

+ +

+TODO +

+ + + +

Changes to the standard library

+ +

+TODO: Which should be called out? +

+ + + +

New packages

+ +

+There is one new package added to the standard library: sync/pool. +TODO: sync: add Pool (CL 41860043, 46010043) +

+ +

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. +

+ + diff --git a/doc/go1.3.txt b/doc/go1.3.txt deleted file mode 100644 index ee76079818..0000000000 --- a/doc/go1.3.txt +++ /dev/null @@ -1,38 +0,0 @@ -cmd/go, go/build: support .m files (CL 60590044) -cmd/go: add -exec to 'go run' and 'go test' (CL 68580043) -cmd/gofmt: remove -tabwidth and -tabs flags (CL 52170043) -crypto/tls: ServerName or InsecureSkipVerify (CL 67010043) -crypto/tls: add DialWithDialer (CL 68920045) -crypto/tls: report TLS version in ConnectionState (CL 68250043) -crypto/x509: support CSRs (CL 49830048) -liblink: pull linker i/o into separate liblink C library (CL 35790044) -misc/benchcmp: removed and replaced by go.tools/cmd/benchcmp (CL 47980043) -misc/dist: renamed misc/makerelease (CL 39920043) -net/http: add Request.TLS (CL 52660047) -net/http: add Server.ErrorLog; log and test TLS handshake errors (CL 70250044) -net/http: add Server.SetKeepAlivesEnabled (CL 69670043) -net/http: add Transport.TLSHandshakeTimeout; set it by default (CL 68150045) -net/http: add optional Server.ConnState callback (CL 69260044) -net/http: use TCP Keep-Alives on DefaultTransport's connections (CL 68330046) -net/http: use TCP keep-alives for ListenAndServe and ListenAndServeTLS (CL 48300043) -net: add Dialer.KeepAlive option (CL 68380043) -net: enable fast socket creation using SOCK_CLOEXEC and Accept4 on FreeBSD 10 (69100043) -os/exec: fix Command with relative paths (CL 59580044) -regexp: add one-pass optimization from RE2 (CL 13345046) -runtime/debug: add SetPanicOnFault (CL 66590044) -runtime: output how long goroutines are blocked (CL 50420043) -runtime: better handling of defers, reduces goroutine memory footprint by 2K (CL 42750044) -runtime: faster GC: concurrent sweep, better parallelization, 8K pages (up to 50-70% pause reduction) (CL 46430043, 46860043, 58230043) -runtime/race: faster by ~40% (CL 55100044) -sync: add Pool (CL 41860043, 46010043) -syscall: add Accept4 for freebsd (CL 68880043) -syscall: add NewCallbackCDecl to use for windows callbacks (CL 36180044) -syscall: add support for FreeBSD 10 (CL 56770044, 56980043) -testing: add b.RunParallel function (CL 57270043) -testing: diagnose buggy tests that panic(nil) (CL 55780043) -unicode: upgrade from Unicode 6.2.0 to 6.3.0 (CL 65400044) - -Additional notes: -- support for Windows 2000 removed (CL 74790043) -- copying stack support; initial stack size 4kB again. -- liveness analysis in garbage collector