Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Go 1.1 Language Brings Performance Improvements

  1. #1
    Join Date
    Jan 2007
    Posts
    13,393

    Default Go 1.1 Language Brings Performance Improvements

    Phoronix: Go 1.1 Language Brings Performance Improvements

    After more than one year since the release of the Go 1.0 programming language by Google, Go 1.1 has been unveiled as the first major update to the programming language...

    http://www.phoronix.com/vr.php?view=MTM3MTE

  2. #2
    Join Date
    May 2012
    Posts
    82

    Default

    Has anybody actually built anything with this language yet?

  3. #3
    Join Date
    Jun 2012
    Posts
    50

    Default

    Quote Originally Posted by cbamber85 View Post
    Has anybody actually built anything with this language yet?
    Hello World!

  4. #4
    Join Date
    Jan 2013
    Posts
    1,346

    Default

    Nah it's just a "me too" thing, every big corporation needs to have their very own programming language... Apple has Objective-C, microsoft has C#, Oracle has Java... even Mozilla has their Rust language, so obviously Google just felt that it needs to have all the same toys the other kids have...

  5. #5
    Join Date
    Sep 2012
    Posts
    251

    Default

    go away go go!

  6. #6
    Join Date
    Aug 2011
    Posts
    91

    Default

    Quote Originally Posted by cbamber85 View Post
    Has anybody actually built anything with this language yet?
    Yes, people build things with Go: http://godoc.org/-/index
    And companies: http://code.google.com/p/go-wiki/wiki/GoUsers

  7. #7
    Join Date
    Aug 2011
    Posts
    91

    Default

    Quote Originally Posted by dee. View Post
    Nah it's just a "me too" thing, every big corporation needs to have their very own programming language... Apple has Objective-C, microsoft has C#, Oracle has Java... even Mozilla has their Rust language, so obviously Google just felt that it needs to have all the same toys the other kids have...
    Read about why Go was created and its goals: http://talks.golang.org/2012/splash.article

  8. #8
    Join Date
    Jan 2013
    Posts
    1,346

    Default

    Quote Originally Posted by 0xCAFE View Post
    Read about why Go was created and its goals: http://talks.golang.org/2012/splash.article
    Too boring. Every language has one of those... "we want to be a functional but also readable but also fast and easy to maintain and flexible blah blah blah"... Any good corporate machine can come up with a bunch of marketing speak to justify hauling dirt from a hole to another hole and back if so needed. What's actually relevant is: is it actually being used in any meaningful capacity? Does it actually fill a real-world need?

  9. #9
    Join Date
    May 2012
    Posts
    82

    Default

    Quote Originally Posted by 0xCAFE View Post
    Read about why Go was created and its goals: http://talks.golang.org/2012/splash.article
    I should qualify that I wasn't being snarky... I read a Dr Dobbs article about a year ago, and they rather liked it, but since then it's dropped off my radar.

  10. #10
    Join Date
    Jun 2011
    Posts
    51

    Default

    Quote Originally Posted by dee. View Post
    Too boring. Every language has one of those... "we want to be a functional but also readable but also fast and easy to maintain and flexible blah blah blah"... Any good corporate machine can come up with a bunch of marketing speak to justify hauling dirt from a hole to another hole and back if so needed. What's actually relevant is: is it actually being used in any meaningful capacity? Does it actually fill a real-world need?
    I've been using Go to build a web-based, PC management system. Go brings absolutely nothing new to the table. Every feature it offers has been done before. What, I think, makes Go stand out is all of it's features were carefully integrated in the language and doesn't feel slapped on (or maybe I've been programming for way too long in C++).

    One of things I really appreciate is the way Go handles errors. There are multiple return types and a dedicated error type. This makes error checking as simple as:

    Code:
    x, err := getValue()
    if err != nil {
        //handle the error here
    }
    Maybe it's because I've seen horrors beyond your imagining when it comes to exception handling in Java, but deciding not to use exeption-based programming in favor of a simple error-based system makes Go programs much simpler to write and read, as well as being flexible rather than being stuck in the try/catch/finally clause.

    The standard library has pretty much everything you need: standard utilities like string conversion and string libraries, networking, web sockets, reflection, crypto, etc.

    Another cool thing is its empty interface (void pointer). Within itself, it's not too useful, but when combined with reflection, you have Go's answer for its lack of polymorphism. Now, you can throw any data type into a function and still know what it is. A third party library for MongoDB (mgo) makes extensive use of this, and it makes inserting and getting data extremely easy.

    Now, for all of Go's advantages, it brings its own slew of disadvantages. Go's duck typing system, for example, makes it very easy to accidently allocate a new variable with the same name when reworking some code, making it very hard to debug.

    But that's enough for now. I feel like Go's a very useful language, at least for building servers. But you'll have to try it and decide for yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •