From: Andrew Gerrand Date: Fri, 30 Jul 2010 00:36:13 +0000 (+1000) Subject: doc: update front page and go_learning.html X-Git-Tag: weekly.2010-07-29~5 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bab711b184e7737d25f3efa04d55fec9e809a386;p=gostls13.git doc: update front page and go_learning.html This is a stop-gap change to give more current information visibility before a more thorough reorganization. R=r, rsc, gri CC=golang-dev https://golang.org/cl/1902042 --- diff --git a/doc/go_learning.html b/doc/go_learning.html index 630daf0861..ecc1111060 100644 --- a/doc/go_learning.html +++ b/doc/go_learning.html @@ -111,7 +111,15 @@ Features and ideas being developed or discussed by the Go team. A summarization of the changes between tagged releases of Go.

-

Videos

+

Videos and Talks

+ +

Go Programming

+

+A presentation delivered by Rob Pike and Russ Cox at Google I/O 2010. It +illustrates how programming in Go differs from other languages through a set of +examples demonstrating features particular to Go. These include concurrency, +embedded types, methods on any type, and program construction using interfaces. +

The Go Tech Talk

@@ -120,15 +128,33 @@ The language's first public introduction. (See the gocoding YouTube Channel

A YouTube channel that includes screencasts and other Go-related videos:

+

Another Go at Language Design

+

+A tour, with some background, of the major features of Go, intended for +an audience new to the language. The talk was presented at OSCON 2010. +See the presentation slides. +

+ +

Go Emerging Languages Conference Talk

+

+Rob Pike's Emerging Languages Conference presentation delivered in July 2010. See the presentation slides. Abstract: +

+

+Go’s approach to concurrency differs from that of many languages, even those +(such as Erlang) that make concurrency central, yet it has deep roots. The path +from Hoare’s 1978 paper to Go provides insight into how and why Go works as it +does. +

+

The Go Promo Video

A short promotional video featuring Russ Cox demonstrating Go's fast compiler. diff --git a/doc/root.html b/doc/root.html index 3a5a495154..5fd5538548 100644 --- a/doc/root.html +++ b/doc/root.html @@ -23,6 +23,7 @@ function loadFeed() { } container.innerHTML = ""; var entries = result.feed.entries; + console.log(entries); for (var i=0; i -

-

Getting started

- -
    -
  1. - Install Go. -
  2. - -
  3. - Read the tutorial. -
  4. - -
  5. - Learn the libraries. -
  6. -
- -

Slow compiles?
Watch this

- - - - -
- -
-
- -
-

From the Go Blog:

-
Loading...
-
- - -
-
@@ -82,6 +48,33 @@ google.setOnLoadCallback(loadFeed);
+
+

Go videos

+
+ +
"Go Programming"
+
Google I/O Tech Talk
+
+
+ +
"Fast Compiles"
+
Go Promotional Video
+
+
+ +
Go Youtube Channel
+
Screencasts and more
+
+ More videos and talks. +
+ +
+ +
+

From the Go Blog:

+
Loading...
+
+

Go is …

… simple

@@ -94,25 +87,27 @@ func main() { fmt.Printf("Hello, 世界\n") } +

Go has a small, simple feature set, making it easy to learn.

+

… fast

Go compilers produce fast code fast. Typical builds take a fraction of a second yet the resulting programs run nearly as quickly as comparable C or C++ code.

-

… safe

- -

Go is type safe and memory safe. Go has pointers but no pointer arithmetic. -For random access, use slices, which know their limits.

-

… concurrent

-Go promotes writing systems and servers as sets of lightweight -communicating processes, called goroutines, with strong support from the language. -Run thousands of goroutines if you want—and say good-bye to stack overflows. +Go promotes writing systems and servers as sets of lightweight communicating +processes, called goroutines, with strong support from the language. Run +thousands of goroutines if you want—and say good-bye to stack overflows.

+

… safe

+ +

Go is type safe and memory safe. Go has pointers but no pointer arithmetic. +For random access, use slices, which know their limits.

+

… fun

diff --git a/doc/style.css b/doc/style.css index cd57232a7f..4ced0f6bb1 100644 --- a/doc/style.css +++ b/doc/style.css @@ -239,9 +239,9 @@ span.subtitle { /* ------------------------------------------------------------------------- */ /* Styles for the frontpage */ -#gettingStarted, #blog { +#fp-videos { margin-top: 1.5em; - margin-left: 1.75em; + margin-left: 1em; margin-right: 0em; float: right; clear: right; @@ -249,26 +249,27 @@ span.subtitle { padding-left: 1em; padding-right: 1em; padding-bottom: 0.75em; - border: 2px solid #ba9836; + border: 1px solid #ba9836; width: 160px; } #blog { margin-bottom: 1.5em; } -#blog h1 { font-size: 1.2em; } -#blog #blogFeed a { font-size: 1.1em; display: block; margin-top: 1em; } +#blog h1 { font-size: 1.2em; padding-top: 0.7em; } +#blog #blogFeed a { display: block; margin-top: 1em; } -#gettingStarted h1 { - padding-top: 0.3em; +#fp-videos h1 { + padding-top: 0.5em; margin-bottom: 0.2em; - font-size: 1.5em; + font-size: 1.2em; } -#gettingStarted ol { - padding-left: 2em; +#fp-videos a img { + border: 1px solid blue; } -#gettingStarted a img { - border: 1px solid blue; +#fp-videos a.more { + text-align: center; + display: block; } #frontpage { @@ -280,3 +281,29 @@ span.subtitle { font-size: 1.5em; font-weight: normal; } + +#blog { + float: right; + width: 160px; + background-color: ivory; + border: 1px solid #BA9836; + padding: 0 1em; + margin-left: 1em; + margin-bottom: 1em; +} +#blogFeed { + padding-bottom: 1em; +} + +.video { + padding: 5px 0; + text-align: center; +} +.video img { + margin-bottom: 5px; +} +.video .title { + font-weight: bold; +} +.video .title { +} diff --git a/doc/video-snap-fastcompiles.jpg b/doc/video-snap-fastcompiles.jpg new file mode 100644 index 0000000000..94596def35 Binary files /dev/null and b/doc/video-snap-fastcompiles.jpg differ diff --git a/doc/video-snap-gocoding.jpg b/doc/video-snap-gocoding.jpg new file mode 100644 index 0000000000..bfffb040fa Binary files /dev/null and b/doc/video-snap-gocoding.jpg differ diff --git a/doc/video-snap-io.jpg b/doc/video-snap-io.jpg new file mode 100644 index 0000000000..f2dff722b4 Binary files /dev/null and b/doc/video-snap-io.jpg differ diff --git a/doc/video-snap-oscon.jpg b/doc/video-snap-oscon.jpg new file mode 100644 index 0000000000..b437cd7fda Binary files /dev/null and b/doc/video-snap-oscon.jpg differ diff --git a/doc/video-snap.jpg b/doc/video-snap.jpg deleted file mode 100644 index ae66c558ea..0000000000 Binary files a/doc/video-snap.jpg and /dev/null differ diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html index aef7f4dc40..bb3c07fe01 100644 --- a/lib/godoc/godoc.html +++ b/lib/godoc/godoc.html @@ -78,8 +78,8 @@

  •  
  • - +
  •