Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Mitch Pronschinske is the Senior Content Curator (aka. "Lord of the Zones") at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often has hotdogs for lunch, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone employee and has posted 1703 posts at DZone. You can read more from them at their website. View Full User Profile

Wake Me Up Before Google's Go Goes

11.11.2009
Email
Views: 7509
  • submit to reddit
Itching to try a new programming language?  Google has you covered.  They just released an open source, experimental language called "Go".  Google says their open source language has the performance and security of a compiled language like C++ and the speed of a dynamic language like Python.  According to "The Go Team" blog, the typical builds are very fast.  Large binaries compile in a few seconds and compiled code runs almost as fast as C.  

The Go Team's focus is to provide systems developers with "a fresh and lightweight take on object-oriented design."  Go responds to the advent of multicore computers with well-supported garbage collection and parallel computation.  Here are some key features of Google's Go:
  • True closures and reflection
  • Easy dependency analysis and avoids much of the overhead of C-style
  • No pointers or pointer arithmetic; offers bounded slices for random access to memory
  • Unicode support and run-time reflection
  • Introduces goroutines to write systems as lightweight communicating processes.
  • Fast 6g compiler for for 64 bit x86 code; the alternate gccgo compiler is slower but generates more efficient code


You know it wouldn't be a proper Google release if without any weird marketing gimmicks (e.g. Baked good names for versions of Android).  Go is no exception.
On the right you'll see Gordon, the Go Gopher.

And, no programming language would be complete without the obligatory "Hello World" program:

 package main

import fmt "fmt" // Package implementing formatted I/O.

func main() {
fmt.Printf("Hello, world; or Καλημέρα κόσμε; or こんにちは 世界\n");
}

There's even a video of Go in action.  Go and its compilers are being offered under a BSD-style license.
AttachmentSize
gogopher.png15.82 KB

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Dave Rodenbaugh replied on Tue, 2009/12/08 - 5:08pm

Go is interesting, but I don't think it's really getting us anywhere in terms of programming languages. My thoughts on it: Google's Go Isn't Getting Us Anywhere

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.