Go 部落格

近期兩篇 Go 文章

Andrew Gerrand
2013年3月6日

引言

今天的博文我想介紹幾篇近期關於 Go 的文章。

Go 在 Google

去年十月,Rob Pike 在圖森的 ACM SPLASH 會議上發表了主題演講。這次演講的題目是 Go 在 Google,全面討論了 Go 的設計動機。Rob 後來擴充套件了他的演講,創作了一篇題為 Go 在 Google:為軟體工程服務而設計的語言 的文章。以下是摘要:

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 開發者學院的 Go

在 2012 年 Google I/O 大會上,Google 開發者團隊 推出了 Google 開發者學院,這是一個提供 Google 技術培訓材料的專案。Go 是其中一項技術,我們很高興地宣佈首篇以 Go 為核心的 GDA 文章。

Go、App Engine 和 Google+ API 入門 介紹瞭如何使用 Go 編寫 Web 應用程式。它演示瞭如何構建和部署 App Engine 應用程式,以及如何使用 Google APIs Go 客戶端呼叫 Google+ API。對於渴望開始使用 Google 開發者生態系統的 Go 程式設計師來說,這是一個絕佳的入門點。

下一篇文章:Go 1 的發展之路
上一篇文章:參加 Go 聚會
部落格索引