11/12/2009

Go, Google’s New Open Source Programming Language

Filed under: — By Aviran Mordo @ 6:56 am

Google has released a new programming language. named Go, as open source under a BSD license. The official Go site characterizes the language as simple, fast, safe, concurrent, and fun. A video illustrates just how fast compilation is: the entire language, 120K lines, compiles in under 10 sec. on a laptop. Ars Technica’s writeup lays the stress on how C-like Go is in its roots, though it has plenty of modern ideas mixed in: “For example, there is a shorthand syntax for variable assignment that supports simple type inference. It also has anonymous function syntax that lets you use real closures.

There are some Python-like features too, including array slices and a map type with constructor syntax that looks like Python’s dictionary concept. … One of the distinguishing characteristics of Go is its unusual type system. It eschews some typical object-oriented programming concepts such as inheritance. You can define struct types and then create methods for operating on them. You can also define interfaces, much like you can in Java. In Go, however, you don’t manually specify which interface a class implements. … Parallelism is emphasized in Go’s design. The language introduces the concept of ‘goroutines’ which are executed concurrently. … The language provides a ‘channel’ mechanism that can be used to safely pass data in and out of goroutines.”

 

One Response to “Go, Google’s New Open Source Programming Language”

  1. depression Says:

    I have heard something about that goggle is processing one programming language on its own code. It is the mixer of C programming language and python programming language. It is easy, speedy, concurrent, open source, safe for memory & implementation.

Leave a Reply

You must have Javascript enabled in order to submit comments.

All fields are optional (except comment).
Some comments may be held for moderation (depends on spam filter) and not show up immediately.
Links will automatically get rel="nofollow" attribute to deter spammers.

Powered by WordPress