File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Languages and the fly likes Go language -- Google's new language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Go language -- Google Watch "Go language -- Google New topic
Author

Go language -- Google's new language

Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Hey Ranchers,

Yet another language in the race. Just check it out . http://golang.org/

It seems to be "C" with "Garbage Collection"! Does nt it sound cool?


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Zandis Murāns
Ranch Hand

Joined: Aug 18, 2009
Posts: 174

what is better? java or go?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9394
    
    2

I heard that Google was doing yet another language called Noop. Now I'm seeing another one here...


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Jothi Shankar Kumar wrote:I heard that Google was doing yet another language called Noop. Now I'm seeing another one here...


Was it so? News to me. Of late, I have been seeing/hearing so many languages like fan, haskell, erlang, and recently today 'go'! huh...
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Zandis Murāns wrote:what is better? java or go?


I don't think you can straight away compare 'go' against Java at this moment as it is on its early stage!! I guess they both target a different set of audience.

It looks tempting that soon after hearing the term 'Garbage Collection', we would get it linked with Java as it has been the one promisingly giving this feature for these many years.

Still, there are few more keywords to consider it in the race are : 'Platform Independence', 'WORA - Write Once Run Anywhere' :)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
what is better? java or go?

That question is too general to be answered in a meaningful way. For instance, one could say that Go is better than Java because its name can be typed faster.
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Ulf Dittmer wrote:
That question to too general to be answered in a meaningful way. For instance, one could say that Go is better than Java because its name can be typed faster.


Different but agreeable dimension Ulf :)
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9394
    
    2

Whatever languages come I'm sure that it might take quite some time in years for those languages to be used like how java is being used today.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61304
    
  66

I thought sure that they'd have named it Gava.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Bear Bibeault wrote:I thought sure that they'd have named it Gava.


Its not aimed at Java. Its aimed straight at C. And from what I can see, does a good job of showing that C is 40 years old and needs to be replaced to reflect current practices and hardware.
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 3016
    
  10
Bear Bibeault wrote:I thought sure that they'd have named it Gava.

Have you seen Guava? It's a library, not a language, but the point is the name is close - and I doubt they'd ever use the name Gava if they've already got Guava, as they're too close. Guava is very cool - I expect it to become very widely used within a year.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Mike Simmons wrote:Have you seen Guava? It's a library, not a language


Is there really a Guava yet? I've been using Google Collections, and love them, and they are the first major part of Guava, but so far, the site you link to is short on things like .jar files to download, javadocs, etc.
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 3016
    
  10
Raghavan Muthu wrote:
Jothi Shankar Kumar wrote:I heard that Google was doing yet another language called Noop. Now I'm seeing another one here...


Was it so? News to me. Of late, I have been seeing/hearing so many languages like fan, haskell, erlang, and recently today 'go'! huh...


You can read more about Noop here - or see our previous discussion here. It looks like Noop isn't so much a language from Google as it is a set of ideas for a language, for some people who work at Google. It's not an official Google release of any sort, just a side project from some people there. Who knows, it could become something big, but so far, there's little there to get excited about, in my opinion.
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 3016
    
  10
Pat Farrell wrote:
Mike Simmons wrote:Have you seen Guava? It's a library, not a language


Is there really a Guava yet? I've been using Google Collections, and love them, and they are the first major part of Guava, but so far, the site you link to is short on things like .jar files to download, javadocs, etc.


Well, it's not nearly as far along as Google Collections, yet. But there's a bit more than you seem to have found. The javadoc is here. I don't see any jar files to download, but you can download their source and build it:

>svn checkout http://guava-libraries.googlecode.com/svn/trunk/ guava-libraries-read-only
>cd guava-libraries-read-only
>ant

As they note, things are still in a state of flux, and I wouldn't recommend using Guava in anything you want to put into production. Yet. But what's there so far looks very promising to me.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

What the web framework of Go language will be named?
Go on Goal
Go in Google
Way to Go
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 3016
    
  10
I propose Goop.

On the other hand, Google's Go is predated by the unrelated languauge Go! by Francis McCabe. As a result, Google may end up changing the name to something else. So maybe the framework designers should hold off a bit on choosing a name.
Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
Wow I missed so much activity on 'Go' !! Sorry for not searching before posting!
Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
I read that this is one of the 20% projects of Google, I wonder if they have plans to develop Chrome OS using 'Go'.
Mike Simmons wrote:
On the other hand, Google's Go is predated by the unrelated languauge Go! by Francis McCabe. As a result, Google may end up changing the name to something else. So maybe the framework designers should hold off a bit on choosing a name.

I would like to add this
'Google 'Go' Name Brings Accusations Of 'Evil' '
http://www.informationweek.com/news/software/web_services/showArticle.jhtml?articleID=221601351&subSection=Software

A cheesy irony I found in the article, 'Google, for all its search prowess, appears to have been unaware of McCabe's Go!. '

I would suggest BingGO!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14192
    
  20

I must admit that I've looked at Go for only about 15 minutes, but one thing that I didn't like about it is the syntax.

For example, the way variables are declared with var name type;. Why did they have to invent this backward syntax with first the name, and then the type, separated by a space - exactly the other way around from C, and unlike any other programming language? Or the way you declare an array:

Why such a strange and backward syntax? You'd think that it would be smart to re-use the familiar syntax of the existing major languages (C, C++, Java, C# etc.) so that it will be easier to learn for most programmers. It almost looks like they were deliberately stubborn and wanted to be unique for no good reason.

We'll see if it ever becomes a success. There is a lot of hype, but that's only because it comes from The Big Almighty Google. It will have to prove itself in practice.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Jesper Young wrote: I didn't like about it is the syntax.
Why such a strange and backward syntax?


Who knows? who cares? a lot of languages have a ton of syntactic sugar that just appeals to programmers in the first 15 minutes. Bliss used "begin" and "end' rather than braces. In a bit of real use, the syntax loses all importance.

Its the merger of functional and sequential programming and ease of use in massively multi-core systems that I find interesting.

I stopped caring about syntax about 20 languages ago.
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Jesper Young wrote:I must admit that I've looked at Go for only about 15 minutes, but one thing that I didn't like about it is the syntax.

For example, the way variables are declared with var name type;. Why did they have to invent this backward syntax with first the name, and then the type, separated by a space - exactly the other way around from C, and unlike any other programming language? Or the way you declare an array:

Why such a strange and backward syntax? You'd think that it would be smart to re-use the familiar syntax of the existing major languages (C, C++, Java, C# etc.) so that it will be easier to learn for most programmers. It almost looks like they were deliberately stubborn and wanted to be unique for no good reason.

We'll see if it ever becomes a success. There is a lot of hype, but that's only because it comes from The Big Almighty Google. It will have to prove itself in practice.


I second Jesper's thoughts exactly here. All what matters and should be focussed is the 'ease of use' and not 'difficulties and strange behavior just for the sake of uniqueness'!
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Pat Farrell wrote:
Jesper Young wrote: I didn't like about it is the syntax.
Why such a strange and backward syntax?


Who knows? who cares?


A huge set of people called 'developers' or 'end users' of the language. Whats the whole point in developing a language/system which the users find it very difficult? Would not the very main purpose of it go for a toss?

a lot of languages have a ton of syntactic sugar that just appeals to programmers in the first 15 minutes. Bliss used "begin" and "end' rather than braces.


Agree with it slightly. i too have felt the same when I looked at Ruby as due to the fact the heavy and tight bound nature of braces nearly a decade


In a bit of real use, the syntax loses all importance.


Then we can all better program in Assembly Programming Language - ALP which ultimately the processor is really caring about


I stopped caring about syntax about 20 languages ago.


20 languages ago? Don't quite get you here.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Raghavan Muthu wrote:A huge set of people called 'developers' or 'end users' of the language. Whats the whole point in developing a language/system which the users find it very difficult? Would not the very main purpose of it go for a toss?


Any language that is designed for professional development is going to be different that prior languages, or it will be called Java++ or something that indicates its nothing more than a small change to an existing language. Then again, some languages just change and don't change the name, Perl is famous for this.

Raghavan Muthu wrote:Then we can all better program in Assembly Programming Language - ALP which ultimately the processor is really caring about


Nonsense. Many current CPU designs don't use assembly as their lowest level. As I wrote up thread, GO is aimed at system applications, just as C and BLISS were in the 70s.

Most languages look like Algol. But there is no requirement to look the way we are "used" to seeing them. Again, a professional developer will learn the language in a week, and then the syntax is invisible.

Raghavan Muthu wrote:
I stopped caring about syntax about 20 languages ago.

20 languages ago? Don't quite get you here.


I've lost track of how many languages I've used professionally, but I was on my fourth or fifth well before 1980. I don't know for sure, but I've used 30 or 40 over the years. Languages fall out of favor, if you want to keep working, you learn the next one. After you have learned to use three or four, picking up a new one takes very little time.

I will grant that to be fully fluent in a language takes time, you have to use it. But more often than not, that is not the language per-se, but the library and idioms. Java can be fully described in ten pages, its the libraries and application frameworks that fill your shelf.

If you think Java and C are the only languages that are ever going to be used in your career, you will have a short career.


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Go language -- Google's new language