Go 博客

两篇近期 Go 文章

Andrew Gerrand
2013年3月6日

引言

在今天的博文中,我想重点介绍几篇近期关于 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 开发者学院中的 Go

在 Google I/O 2012 大会上,Google Developers 团队推出了 Google 开发者学院,该计划提供关于 Google 技术的培训材料。Go 是其中一种技术,我们很高兴地宣布第一篇以 Go 为核心的 GDA 文章

使用 Go、App Engine 和 Google+ API 入门是一篇关于使用 Go 编写 Web 应用的入门指南。它展示了如何构建和部署 App Engine 应用,以及如何使用 Google APIs Go Client 调用 Google+ API。对于渴望开始了解 Google 开发者生态系统的 Go 程序员来说,这是一个很好的切入点。

下一篇文章:《Go 1 之路》
上一篇文章:《参加一次 Go 线下聚会》
博客索引