Google’s all over the place, in our homes, offices, schools, colleges any place you can think of. Now the smart guys have churned out a new programming language called simply the “Go”. This indeed is a new development, and a very welcome one. Why a new language? The reasons are many, the prime being that there hasn’t been a new language over the horizon in about a decade. Remember the time C or even C++ were introduced, guess Dennis Ritchie’s getting unpopular.
Programmers are generally faced with three tough choices, either it is efficient compilation, ease of the language itself or efficient execution. All three don’t come in any one package. Go attempts to address all three issues in one go. It is modern by all standards with built in support for multicore and networked computing. By the way it is very much Open Source so no worries about licensing issues.
Go is known to be fast in compilation as well as execution. A 120K lines code compiles in less than 10 seconds as shown in this video. A number of language related issues had to be addressed in order to make Go a fast language.
More info is available at the Go website.
The infamous “Hello World” program in Go syntax.
package main
import “fmt”
func main() {
fmt.Printf(“Hello World\n”)
}