“Go” first implementation started before 12 years ago. In 2007 September 21 this started rapid development and 2009 November 13 publish this language.
Some features of “Go”, this compilers produce very fast code. Compared with C, this is better. Also this is very type safe & memory safe language. This language deal with the concurrent issues. And also this is very joyful language with so many methods in any type, fast builds.
Hello World Program
package main
import "fmt"
func main()
{
fmt.Printf("Hello World")
}
Save it as helloworld.go
Then compile it.
$ gccgo helloworld.go
$ a.out
Share with Your Friends
Tweet |
0 comments:
Post a Comment