Geeks With Blogs
Pranav`s TechNiche technical thoughts of a coffee addicted developer

Google Go

A new system programming language was recently released by Google and it goes by the name of "Go". According to Google, Go is still in experimental stage and it is an attempt to combine the ease of programming of an interpreted, dynamically typed language (such as Python and javascript) with the efficiency and safety of a statically typed, compiled language like C++. Go is mostly in the C family (basic syntax), with significant input from the Pascal/Modula/Oberon family (declarations, packages), plus some ideas from languages inspired by Tony Hoare's CSP, such as Newsqueak and Limbo (concurrency).

Dependency management is a big part of software development today but the “header files” of languages in the C tradition are antithetical to clean dependency analysis—and fast compilation. It is easy, speedy, concurrent, open source, safe for memory & implementation.

Here is a Go version of Hello World program:

  1. package main  
  2. import fmt "fmt"  // Package implementing formatted I/O.  
  3.   
  4. func main() {  
  5.   fmt.Printf("Hello, world;\n");  
  6. }

 

For read more details and tutorials on Go Programming, check out Golang.org

Posted on Monday, November 16, 2009 2:23 PM General | Back to top


Comments on this post: Google`s Go - new programming language in the town!

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Pranav | Powered by: GeeksWithBlogs.net