"《Go語言程序設計》(The Way To Go A Thorough Introduction To The Go Programming Language)文字版[PDF]"介紹
中文名: Go語言程序設計
原名: The Way To Go A Thorough Introduction To The Go Programming Language
作者: Balbaert
圖書分類: 軟件
資源格式: PDF
版本: 文字版
出版社: iUniverse
書號: 978-1-4697-6916-5
發行時間: 2012年
地區: 美國
語言: 英文
簡介:
內容介紹:Go語言是谷歌推出的一種全新的編程語言,可以在不損失應用程序性能的情況下降低代碼的復雜性。谷歌首席軟件工程師羅布派克(Rob Pike)說:我們之所以開發Go,是因為過去10多年間軟件開發的難度令人沮喪。 Go語言專門針對多處理器系統應用程序的編程進行了優化,使用Go編譯的程序可以媲美C或C++代碼的速度,而且更加安全、支持並行進程。Go是谷歌2009發布的第二款編程語言.2009年7月份,谷歌曾發布了Simple語言,它是用來開發Android應用的一種BASIC語言。
Go語言團隊成員:
Thompson:1983年圖靈獎(Turing Award)和1998年美國國家技術獎(National Medal of Technology)得主。他與Dennis Ritchie是Unix的原創者。Thompson也發明了後來衍生出C語言的B程序語言。
Pike:曾是貝爾實驗室(Bell Labs)的Unix團隊,和Plan 9操作系統計劃的成員。他與Thompson共事多年,並共創出廣泛使用的UTF-8 字元編碼。
Robert Griesemer:曾協助制作Java的HotSpot編譯器,和Chrome浏覽器的JavaScript引擎V8。
此外還有Plan 9開發者Russ Cox、和曾改善目前廣泛使用之開原碼編譯器GCC的Ian Taylor。
內容截圖:
目錄:
Preface ................................................................................................................................xi x
PART 1—WHY LEARN GO—GETTING STARTED
Chapter 1—Origins, Context and Popularity of Go .............................................................. 1
1.1 Origins and evolution ............................................................................................... 1
1.2 Main characteristics, context and reasons for developing a new language ................... 4
1.2.1 Languages that influenced Go ........................................................................4
1.2.2 Why a new language? .....................................................................................5
1.2.3 Targets of the language ................................................................................... 5
1.2.4 Guiding design principles .............................................................................. 7
1.2.5 Characteristics of the language ....................................................................... 7
1.2.6 Uses of the language ....................................................................................... 8
1.2.7 Missing features? ............................................................................................9
1.2.8 Programming in Go .....................................................................................10
1.2.9 Summary .....................................................................................................10
Chapter 2—Installation and Runtime Environment ........................................................... 11
2.1 Platforms and architectures ....................................................................................11
(1) The gc Go-compilers: ................................................................................. 11
(2) The gccgo-compiler: ................................................................................... 13
(3) File extensions and packages: ...................................................................... 14
2.2 Go Environment variables ....................................................................................... 14
2.3 Installing Go on a Linux system .............................................................................. 16
2.4 Installing Go on an OS X system ............................................................................21
2.5 Installing Go on a Windows system.........................................................................21
2.6 What is installed on your machine? ........................................................................26
2.7 The Go runtime ...................................................................................................... 27
2.8 A Go interpreter .....................................................................................................27