=Go, google's programming language.

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
Google launched it's own programming language.
They say it's very fast.
They demonstrate it in a 59 mins video where they compile a 6k lines code in .2 seconds.
They also explain how it works and how to use it. It's a mix of Charp, C++, Java, Delphi and Python. They take the best from each programming language and mix it in one language which should be awesome.
They say it's as fast as C to exec and as fast as Python to write.

I haven't tested it yet, but the main site, if you want to learn more info,
www.golang.org (Official site).
More info:
Info
Video

I personnaly, support google in all what they do. I use Google Chrome for a browser and I censored yahoo from my sites. Go, google!

O m g 1000th POST!
 
This has already been posed (on the front page actually). I still say this is going to be a very cool language.
 
Oh, didn't know.

Well, here's a thread to talk about it ;).

It's going to be awesome, done with what the people want in it.
 
Eh, I still much prefer python or C syntax.

Declaring variables seems backwards.

Code:
var apples [10]int;

What the hell?

(Declares a variable called apples as an integer array in case anyone was wondering).
 
Go variables are kinda weird. :nuts:
I'll stick with C/C# for now.
 
The language seems interesting, especially the server loop.
But how effective is this?

Is this like event based like waiting till a package arrives, or is it continuously looping, waiting for a variable to be filled?

Looping takes a lot of the CPU, but if it's waiting for events such as incoming packages then this is the way to go. C# or C++ have bad support for this and I agree with them, if this really is the NextGen language it won't be bad to learn this.

I also agree about the variable type casting, in PHP / JavaScript this is very annoying.

And how about output of integers / strings? Does the compiler automatically convert integers to strings, and vice verca.

Overall, this seems like a powerful language although looping and arrays seems quite boring. They could have updated that. Take a look at lua for example. The table (array) in lua and table looping are quite powerful, flexible but again typecasting is a pain. If they really took the best out of every language, they surely forgot about this one.
 
Eh, I still much prefer python or C syntax.

Declaring variables seems backwards.

Are you suggesting python variables are normal? They don't define types or array sizes at all.

Code:
var apples [10]int;

What the hell?

(Declares a variable called apples as an integer array in case anyone was wondering).

Declare a variable -> var

called apples -> apples

as an integer array -> [10]int

It may be strange, but Google is known for liking to change precedents.
 
> C# or C++ have bad support for this

C# is completely event based.

Also, I really don't like this language. I don't know why, it just seem really, really unoriginal. Yeah, it might be fast, but what does it have than that? A mix of C#, C++ and Python? Woohoo.

Oh yeah - just a question - can this language only be used for console apps or also WinForms?

Plus I don't like editing in notepad :p
 
there are a few good I like about it

1. pointers but no arithmetic on them - helps prevent you from going somewhere you dident intend to
2. garbage collection - no more leak worries
3. it's supposedly fast - I dont know how fast it is compared to C++ yet tho, but if it is close I would be happy

hopefully google comes out with an IDE or something soon (link plz if they already do)
 
JASS:
var apples [10]int;


Makes perfect sense to me.

Make a Variable named "Apples", it needs to be any array, and there should be ten slots. (It's an integer array, by the way.)
 
variable apples is an array of integers,

not very confusing and makes declaring multiples of the same sort easy as he pointed out in the video.

var apples, oranges, bananas [10]int;

Don't know if I did that correctly but something like it, he showed it with pointers.

Anyways, the language seems ok, but I'll stick with C++ 'til people start taunting me for still using it. Don't really care about the compilation speed, with good abstraction and make a C++ project can be (re)compiled rather fast. Havn't really made anything real big yet though.

//==GooS
 
Some features are cool, like the speed, compiling and garbage collection, however I am not too keen on the actual syntax. I guess I will give it a try, but I don't expect to like it that much.
 
var apples, oranges, bananas [10]int;

That is not a good programming practice. It's easier to read variables if there is one per line.

The only thing that is nice about the language is speed.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top