diff --git a/doc/go_learning.html b/doc/go_learning.html index 630daf08618..ecc11110608 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.
-+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. +
@@ -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:
+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. +
+ ++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. +
+
A short promotional video featuring Russ Cox demonstrating Go's fast compiler.
diff --git a/doc/root.html b/doc/root.html
index 3a5a495154a..5fd55385481 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 Go is … Go has a small, simple feature set, making it easy to learn.
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.
+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 is type safe and memory safe. Go has pointers but no pointer arithmetic.
For random access, use slices, which know their limits.
-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.
-
diff --git a/doc/style.css b/doc/style.css
index cd57232a7f2..4ced0f6bb1a 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,28 +249,29 @@ 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;
-}
-
-#gettingStarted a img {
+#fp-videos a img {
border: 1px solid blue;
}
+#fp-videos a.more {
+ text-align: center;
+ display: block;
+}
+
#frontpage {
width: 100%;
}
@@ -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 00000000000..94596def359
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 00000000000..bfffb040fa7
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 00000000000..f2dff722b45
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 00000000000..b437cd7fdad
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 ae66c558ea6..00000000000
Binary files a/doc/video-snap.jpg and /dev/null differ
diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html
index aef7f4dc405..bb3c07fe015 100644
--- a/lib/godoc/godoc.html
+++ b/lib/godoc/godoc.html
@@ -78,8 +78,8 @@
Getting started
-
-
-
-
- Slow compiles?
-
Watch this
-
-
-
-
-
-
- From the Go Blog:
-
+
@@ -82,6 +48,33 @@ google.setOnLoadCallback(loadFeed);
Go videos
+
+
+
+ More videos and talks.
+From the Go Blog:
+ … simple
@@ -94,25 +87,27 @@ func main() {
fmt.Printf("Hello, 世界\n")
}
+… fast
… concurrent
+
+… safe
… concurrent
-
-… fun