1 / 18

Google Go!

Google Go!. Xingkai WANG, ACM2011. Introduction. 开始设计: 2007 年 发行时间: 2009 年 设计者: Robert Griesemer Rob Pike Ken Thompson 实作者: Google. Introduction. 启发语言: C Oberon Limbo Go 语言最早基于 Inferno 操作系统开发,于 2009 年 11 月正式推出,并在 Linux 和 Mac OS X 平台上进行了实现,后追加在 Windows 系统下的实现。

Download Presentation

Google Go!

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Google Go! Xingkai WANG, ACM2011

  2. Introduction • 开始设计:2007年 • 发行时间:2009年 • 设计者:Robert Griesemer Rob Pike Ken Thompson • 实作者:Google

  3. Introduction • 启发语言:C Oberon Limbo • Go语言最早基于Inferno操作系统开发,于2009年11月正式推出,并在Linux和Mac OS X平台上进行了实现,后追加在Windows系统下的实现。 • Go是Google与2009年发布的第二款语言,7月曾发布Simple语言应用于Android平台。

  4. Features • 1. 系统编程语言。 • 2. 快速编译和执行。 • 3. 类型安全性和内存使用安全。 • 4. 很好的支持并发计算。

  5. WHY?

  6. 我们之所以开发Go,是因为过去10多年间软件开发的难度令人沮丧。我们之所以开发Go,是因为过去10多年间软件开发的难度令人沮丧。 Rob Pike

  7. 简洁! 可以在不损失应用程序性能的情况下降低代码的复杂性。

  8. 分号?

  9. 赋值语句 • inti; i=10; • i:=10 • i, j:=j, I • i, j, k:=1, 3.14, “volvo”

  10. 条件语句

  11. 条件语句

  12. 循环语句

  13. 其他特性 • 1. 一个函数返回多个值 • 2. 在多线程编程方面优化 • 3. 支持面向对象,不支持层次继承

  14. 存在问题 • 1. 语言的实现时间比较短,实现和社区都不够成熟,一些语言特性还没有实现。 • 2. 语言库和基于GO的应用还比较少,甚至在Google内部也还是个试验项目。

  15. 发展前景 • 1. 非常好的支持了多核处理器 • 2. 有Google在

  16. Reference • Wikipedia-Go • baike.baidu.com-Go语言 • golang.org • go-ide.com • code.google.com

  17. Any questions?

  18. Thanks for your listening!

More Related