From 2e13596e82b114031f33f603db13e1a5cdeff8cc Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 7 Nov 2009 17:31:22 -0800 Subject: FAQ edits R=r CC=go-dev http://go/go-review/1024015 --- doc/go_faq.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/go_faq.html') diff --git a/doc/go_faq.html b/doc/go_faq.html index 76a4feb8c..4f868e866 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -14,7 +14,7 @@ the computing landscape has changed tremendously. There are several trends: Computers are enormously quicker but software development is not faster.
  • Dependency management is a big part of software development today but the -"header files" of languages in the C tradition are antithetical to clean +“header files” of languages in the C tradition are antithetical to clean dependency analysis—and fast compilation.
  • There is a growing rebellion against cumbersome type systems like those of @@ -54,7 +54,7 @@ software on multicore machines. What is the origin of the name?

    -"Ogle" would be a good name for a Go debugger. +“Ogle” would be a good name for a Go debugger.

    What kind of a name is 6g?

    @@ -62,7 +62,7 @@ What kind of a name is 6g?

    The 6g (and 8g and 5g) compiler is named in the tradition of the Plan 9 C compilers, described in - + http://plan9.bell-labs.com/sys/doc/compiler.html (see the table in section 2). @@ -86,7 +86,7 @@ Who should use the language?

    Go is an experiment. We hope adventurous users will give it a try and see if they enjoy it. Not every programmer -will but we hope enough will find satisfaction in the approach it +will, but we hope enough will find satisfaction in the approach it offers to justify further development.

    Yes and no. Although Go has types and methods and allows an object-oriented style of programming, there is no type hierarchy. -The concept of "interface" in Go provides a different approach that +The concept of “interface” in Go provides a different approach that we believe is easy to use and in some ways more general. There are also ways to embed types in other types to provide something analogous—but not identical—to subclassing. @@ -159,7 +159,7 @@ they can be defined for any sort of data, not just structs.

    Also, the lack of type hierarchy makes “objects” in Go feel much more -lightweight than in languages such as C++ and Java. +lightweight than in languages such as C++ or Java.

    How do I get dynamic dispatch of methods?

    @@ -199,7 +199,7 @@ There is a program, godoc, written in Go, that extracts package documentation from the source code. It can be used on the command line or on the web. An instance is running at http://golang.org/pkg/. -In fact, godoc implements the full site at +In fact, godoc implements the full site at http://golang.org/.

    @@ -326,10 +326,10 @@ How is the runtime implemented?

    Again due to bootstrapping issues, the runtime is mostly in C (with a tiny bit of assembler) although Go is capable of implementing most of -it now. Gccgo's runtime uses glibc; +it now. Gccgo's runtime uses glibc. Gc uses a custom library, to keep the footprint under control; it is compiled with a version of the Plan 9 C compiler that supports segmented stacks for goroutines. -work is underway to provide the same stack management in +Work is underway to provide the same stack management in gccgo. -- cgit v1.2.3