谷歌推出新的编程语言- Go

谷歌周二推出了一种全新的编程语言-GO。早在两年前Google就开始对GO语言的研发,不过目前仍处于测试阶段,Google开放其源代码,实际上也是为了得到外界的帮助。当初将该语言设计为一款系统编程语言,可以被用于网络服务器、存储系统和数据库中。但是谷歌认为,该语言还有望被用于其它领域。



Rob Pike,Google首席软件工程师说:“我们需要更好的程序库和工具,而开源社区能够在这些方面为我们提供很大的帮助。”可以在不损失应用程序性能的情况下降低代码的复杂性。



Google 官方博客上的原文:

引用

Go attempts to combine the development speed of working in a dynamic language like Python with the performance and safety of a compiled language like C or C++. In our experiments with Go to date, typical builds feel instantaneous; even large binaries compile in just a few seconds. And the compiled code runs close to the speed of C. Go is designed to let you move fast.

We’re hoping Go turns out to be a great language for systems programming with support for multi-processing and a fresh and lightweight take on object-oriented design, with some cool features like true closures and reflection


更多细节查看:Golang.org.

Hello World示例:

Java代码
05 package main   
  
07 import fmt “fmt” // Package implementing formatted I/O.   
  
09 func main() {   
10 fmt.Printf(”Hello, world; or Καλημέρα κόσμε; or こんにちは 世界n”);   
11 }  

你可能感兴趣的:(编程,python,网络应用,Google,Go)