Google Go: An Open-Source Programming Language

Status
Not open for further replies.

Gauravs90

geek........
Google's dominated search, online document collaboration, e-mail, telephony, and more, so why not programming? The tech giant has announced its own open-source, object-oriented programming language, called Go.


"Go combines the development speed of working in a dynamic language like Python with the performance and safety of a compiled language like C or C++," according to a Google blog post.


If you don't know what that means, don't worry about it.
"Typical builds," the blog continues, "feel instantaneous; even large binaries compile in just a few seconds. And the compiled code runs close to the speed of C."
Go supports multiprocessing, as well as true closures and reflection.


The Go Web site explains the rationale behind creating Go, mostly citing the change of the computer landscape that's occurred over the past decade or so. There have been very few, if any, major systems languages spring up, there are now more powerful PCs, many of which use multi-core processors, and there is an increased dependency management in software that's not reflected in the "header files" of C-based languages. There's also the growing desire for dynamically typed languages (such as Python and JavaScript) instead of type systems such as Java and C++, and the poor support for concepts such as garbage collection and parallel computation.


Google says that Go takes full advantage of modern, multi-core hardware and simplifies dependency analysis and avoids the overhead present in C-style languages, such as files and libraries. Go's type system also has no hierarchy, which saves the programmer from having to define relationships between types, and Go is fully garbage-collected and naturally supports concurrent execution and communication.


If you're interested in getting started with Go, or you just want to learn more about its inner workings, Golang.org is loaded with tutorials, manuals, FAQs, and other documentation for easy assimilation. There's even a section devoted to C++ programmers who want to learn Go. Also available are code samples, such as the traditional beginning to all studies, "Hello, world!":


05 package main
07 import fmt "fmt" // Package implementing formatted I/O.br> 09 func main() { 10 fmt.Printf("Hello, world; or Καλημέρα κόσμε; or こんにちは 世界\n"); 11 }


Of course, it's way too early to predict the impact of Go on programmers or programming. But we have a feeling that in this way, as in so many others, quite a few people will fall behind Google and look at this as a convenient way of writing programs for modern hardware. If it won't spell the end of the various programming languages in common use, it will undoubtedly represent at least the start of a major C change.


Source: *www.pcmag.com/article2/0,2817,2355748,00.asp?kc=PCRSS03069TX1K0001121


Source: *golang.org/
 

topgear

Super Moderator
Staff member
That's a great move by the biggest search provider ( and many other great services too ) :p

TFS :p
 
Status
Not open for further replies.
Top Bottom