Go 部落格
兩篇最近的關於 Go 的文章
簡介
在今天的部落格文章中,我想重點介紹兩篇最近關於 Go 的文章。
Google 中的 Go
去年十月,Rob Pike 在亞利桑那大學土桑分校舉辦的 ACM SPLASH 研討會中進行了一場主題演講。這場演講標題為 Google 中的 Go,全面探討 Go 背後的動機。Rob 後來進一步闡述他的演講內容,寫成了一篇名為 Google 中的 Go:以軟體工程為服務的語言設計 的文章。以下是摘要
The Go programming language was conceived in late 2007 as an
answer to some of the problems we were seeing developing
software infrastructure at Google. The computing landscape
today is almost unrelated to the environment in which the
languages being used, mostly C++, Java, and Python, had been
created. The problems introduced by multicore processors,
networked systems, massive computation clusters, and the web
programming model were being worked around rather than
addressed head-on. Moreover, the scale has changed: today's
server programs comprise tens of millions of lines of code,
are worked on by hundreds or even thousands of programmers,
and are updated literally every day. To make matters worse,
build times, even on large compilation clusters, have
stretched to many minutes, even hours.
Go was designed and developed to make working in this
environment more productive. Besides its better-known
aspects such as built-in concurrency and garbage collection,
Go's design considerations include rigorous dependency
management, the adaptability of software architecture as
systems grow, and robustness across the boundaries between
components.
這篇文章說明了如何在建置一種輕巧且愉快的效率化編譯程式語言時,解決這些問題。範例和說明將取自 Google 所面對的實際問題。
如果您想知道 Go 背後的設計決策,這篇論文 可能會解答您的疑問。對於新舊 Go 程式設計師來說,都是推薦的讀物。
Google Developers Academy 的 Go
在 2012 年的 Google I/O 活動中,Google Developers 團隊推出 Google Developers Academy,這個計畫提供關於 Google 技術的訓練教材。Go 就是這些技術的其中之一,我們很高興地宣布第一篇以 Go 為主題的 GDA 文章
使用 Go、App Engine 和 Google+ API 入門 是撰寫 Go 網路應用程式的入門文章。它說明如何建構和佈署 App Engine 應用程式,並使用 Google APIs Go Client 呼叫 Google+ API。對於渴望入門 Google 程式設計師生態系統的 Go 程式設計師來說,這是個很棒的起點。