Programming: Google programming language is now real! 编程:谷歌的编程语言现在是真的呢! Go GO Google! 进入进入谷歌!
Posted on 12.发布12。 Nov, 2009 by Dragos in Coding 11月,由德拉戈什 2009年的编码
First the Google Browser (Chrome), then the Google mobile operating system (Android), Google is getting really close to launching its own (and hopefully open source) operating system for computers.首先,谷歌浏览器(镀铬),那么谷歌移动操作系统(机器人),谷歌确实日趋接近推出了自己的(希望开源)操作系统的计算机系统。 But before that, we needed to expect a “default” programming language from the Goliath of all technological times.但在此之前,我们需要期待的所有技术时代巨人“默认”的编程语言。 And it's here!而就在这里! GO is the name of Google's programming language, which from the words of the inventors it is a programming language that is: GO是谷歌的编程语言,从发明者的话来说是一种编程语言,它的名字:
- simple 简单
- fast 快速的
- safe 安全
- concurrent 并发
- fun 娱乐
- and of course.. open-source当然.. 开源
Though the language looks very similar to C and C++, the developers say that the GO language has many improvements that put this novelty in the same row with languages such as C, C++, Java or Python.虽然语言看起来非常类似于C和C + +,开发者说,转到语言有许多改进,放在同一行这一新的,如C语言,C + +语言,Java或Python。
Here are some points, which are the main features of GO:这里有一些问题,这是转到的主要特点:
Go compilers produce fast code fast.去编译器产生快速的代码快。 Typical builds take a fraction of a second yet the resulting programs run nearly as quickly as comparable C or C++ code.典型的建立采取的几分之一秒但由此产生的程序运行那样快速可比C或C + +代码。
Go is type safe and memory safe. Go是类型安全和存储安全。 Go has pointers but no pointer arithmetic.转到了指针,但没有指针运算。 For random access, use slices, which know their limits.对于随机存取,使用片,这知道自己的极限。
Go promotes writing systems and servers as sets of lightweight communicating processes, called goroutines, with strong support from the language.书写系统去促进和交流的所谓goroutines轻量级进程,台服务器,从语言的大力支持。 Run thousands of goroutines if you want—and say good-bye to stack overflows.运行数千goroutines如果你想和说再见堆栈溢出。
Go has fast builds, clean syntax, garbage collection, methods for any type, and run-time reflection.进入了快速生成,对任何类型的清晰的语法,垃圾收集,方法和运行时的反映。 It feels like a dynamic language but has the speed and safety of a static language.这就像是一个动态语言,但在速度和静态语言的安全。 It's a joy to use.这是一种享受。
Yet not convinced about the power of GO?然而,不相信有关的GO的力量? Russ Cox from Google, explains the fast compiles of big programs with GO:从谷歌拉斯考克斯,解释了迅速与大项目转到编译:
Convinced now?相信吗? Then G O f o r i t ! 那么 G 华氏 Ø r我 吨 ! ![]()
Note from Google : The Go project was conceived to make it easier to write the kind of servers and other software Google uses internally, but the implementation isn't quite mature enough yet for large-scale production use. 从谷歌注 : 围棋项目的构想 , 使之更容易编写服务器的种类和其他软件谷歌在内部使用,但执行是不太成熟 , 大规模生产尚未使用。
Related posts:相关岗位:













































