1. Hey Guest Did you know you can win an Honor 10 phone worth ₹33,000 and an additional ₹70,000 in paytm vouchers, just by replying to some threads and taking part in the discussions happening in the Honor Hub?

    What are you waiting for? Start commenting and start winning! Remember to read the instructions posted here.

    Dismiss Notice

Google Go: An Open-Source Programming Language

Discussion in 'Technology News' started by Gauravs90, Nov 12, 2009.

Thread Status:
Not open for further replies.
  1. Gauravs90

    Gauravs90 geek........

    Joined:
    Sep 24, 2008
    Messages:
    748
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Thane, India
    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: http://www.pcmag.com/article2/0,2817,2355748,00.asp?kc=PCRSS03069TX1K0001121


    Source: http://golang.org/
     
  2. topgear

    topgear Fast 'N' Furious

    Joined:
    Jul 14, 2006
    Messages:
    18,796
    Likes Received:
    96
    Trophy Points:
    48
    Location:
    Geek's Heaven
    That's a great move by the biggest search provider ( and many other great services too ) :p

    TFS :p
     
  3. lucifer_is_back

    lucifer_is_back New Member

    Joined:
    Oct 17, 2008
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    0
    isnt C++ open source
     
Thread Status:
Not open for further replies.

Share This Page