Programming in Go: Creating Applications for the 21st Century (Paperback)

Mark Summerfield

  • 出版商: Addison Wesley
  • 出版日期: 2012-05-14
  • 售價: $1,840
  • 貴賓價: 9.5$1,748
  • 語言: 英文
  • 頁數: 496
  • 裝訂: Paperback
  • ISBN: 0321774639
  • ISBN-13: 9780321774637
  • 相關分類: Go 程式語言
  • 已絕版

買這商品的人也買了...

相關主題

商品描述

Your Hands-On Guide to Go, the Revolutionary New Language Designed for Concurrency, Multicore Hardware, and Programmer Convenience

 

Today’s most exciting new programming language, Go, is designed from the ground up to help you easily leverage all the power of today’s multicore hardware. With this guide, pioneering Go programmer Mark Summerfield shows how to write code that takes full advantage of Go’s breakthrough features and idioms.

 

Both a tutorial and a language reference, Programming in Go brings together all the knowledge you need to evaluate Go, think in Go, and write high-performance software with Go. Summerfield presents multiple idiom comparisons showing exactly how Go improves upon older languages, calling special attention to Go’s key innovations. Along the way, he explains everything from the absolute basics through Go’s lock-free channel-based concurrency and its flexible and unusual duck-typing type-safe approach to object-orientation.

 

Throughout, Summerfield’s approach is thoroughly practical. Each chapter offers multiple live code examples designed to encourage experimentation and help you quickly develop mastery. Wherever possible, complete programs and packages are presented to provide realistic use cases, as well as exercises. Coverage includes

 

  • Quickly getting and installing Go, and building and running Go programs
  • Exploring Go’s syntax, features, and extensive standard library
  • Programming Boolean values, expressions, and numeric types
  • Creating, comparing, indexing, slicing, and formatting strings
  • Understanding Go’s highly efficient built-in collection types: slices and maps
  • Using Go as a procedural programming language
  • Discovering Go’s unusual and flexible approach to object orientation
  • Mastering Go’s unique, simple, and natural approach to fine-grained concurrency
  • Reading and writing binary, text, JSON, and XML files
  • Importing and using standard library packages, custom packages, and third-party packages
  • Creating, documenting, unit testing, and benchmarking custom packages

商品描述(中文翻譯)

Go實戰指南:針對並行性、多核硬體和程式設計師便利性而設計的革命性新語言

現今最令人興奮的新程式語言Go,從頭到尾都是為了讓您輕鬆地充分利用當今多核心硬體的強大功能而設計的。在這本指南中,Go程式設計先驅Mark Summerfield展示了如何撰寫能充分利用Go的突破性功能和慣用法的程式碼。

《Go程式設計》既是一本教學書,也是一本語言參考書,它匯集了您評估Go、思考Go和使用Go撰寫高效能軟體所需的所有知識。Summerfield透過多個慣用法比較,清楚地展示了Go如何改進舊有語言,特別關注Go的關鍵創新。在此過程中,他從基礎知識講起,一直解釋到Go的無鎖通道並行性和其靈活且獨特的鴨子類型安全物件導向方法。

Summerfield的方法非常實用。每一章都提供多個實際的程式碼範例,鼓勵讀者進行實驗,並幫助您快速掌握技巧。在可能的情況下,書中提供完整的程式和套件,以提供真實的使用案例,並包含練習題。內容包括:

- 快速獲取和安裝Go,以及建立和執行Go程式
- 探索Go的語法、功能和豐富的標準庫
- 程式設計布林值、運算式和數值類型
- 創建、比較、索引、切片和格式化字串
- 理解Go高效內建的集合類型:切片和映射
- 使用Go作為程序式程式語言
- 探索Go獨特且靈活的物件導向方法
- 掌握Go獨特、簡單且自然的細粒度並行性方法
- 讀寫二進制、文字、JSON和XML檔案
- 匯入和使用標準庫套件、自訂套件和第三方套件
- 創建、撰寫文件、進行單元測試和效能測試自訂套件

最後瀏覽商品 (1)