You are not logged in.

#1 2009-11-11 04:11:01

GypsyJoker
Member
Registered: 2009-11-06
Posts: 20

Google has a new programming language

Offline

#2 2009-11-11 07:56:11

zowki
Member
From: Trapped in The Matrix
Registered: 2008-11-27
Posts: 582
Website

Re: Google has a new programming language

Yuck, it looks a lot like Java which I hate with passion. Object orientated languages such as C++ and Java are filled with unnecessary complications. I think I'll stick with good old C. Are you sure golang is by google? I didnt notice any google branding on the site.


How's my programming? Call 1-800-DEV-NULL

Offline

#3 2009-11-11 08:34:35

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Google has a new programming language

zowki wrote:

Are you sure golang is by google? I didnt notice any google branding on the site.

Yep. See here for info.

Looks like there is already a PKGBUILD for it in the AUR.

Last edited by mikesd (2009-11-11 08:36:27)

Offline

#4 2009-11-11 10:13:19

Tyriel
Member
From: Melbourne, Australia
Registered: 2009-01-20
Posts: 161
Website

Re: Google has a new programming language

zowki wrote:

Yuck, it looks a lot like Java which I hate with passion. Object orientated languages such as C++ and Java are filled with unnecessary complications. I think I'll stick with good old C. Are you sure golang is by google? I didnt notice any google branding on the site.

*Puts face in palm* General stereotypes like this that are untrue annoy me on these forums.  Maybe I am being harsh but I do expect more from an Arch user.  Just because you do not use or perhaps understand the benefits of object oriented programming languages does not mean procedural ones are better.

Appologies for going off topic, getting back on now.  Go does look interesting but I don't think I will try it until/if it is tried, tested and adopted in industry.  That and I still need to improve my python skills tongue


The software required Windows XP or better, so I installed archlinux.

Offline

#5 2009-11-11 11:38:43

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Google has a new programming language

This is pretty neat.  It looks nothing like Java, and if anything looks too much like C :-)

For those who don't want to read the entire site, it is C with a lot of simple batteries included.  A sane UTF8 string library, sane IO, GC, concurrency.  Simpler arg passing for strings and arrays.  Much simpler to return multiple values.  A few bits of sugar such as slice notation, the "iota" accumulator, and "defer".

Pointers are still there.  Very few OO features.  The concurrent channels are not really pure OO message passing.  I am not quite sure how to place the Goto statement.  It is supposed to safely limit the scope, making it one of the more sane implementations.  But the scope rules aren't yet working, so it runs on good intentions.  The concurrency is very coarse grained and extremely manual.  I get the impression their threading model is lighter than forking, but heavily inspired by the use cases of forking.

There does not seem to be any simpler means of passing functions into functions, without dropping to C style pointers.

The language is not OO, it is not FP.  It is very much imperative C, with most of the inconveniences smoothed over.

edit:  Heh. http://code.google.com/p/go/issues/detail?id=9

Last edited by keenerd (2009-11-11 11:51:30)

Offline

#6 2009-11-11 12:11:13

Octoploid
Member
From: Berlin, Germany
Registered: 2009-10-13
Posts: 64

Re: Google has a new programming language

I've read half through the GoCourse pdfs and must say it's a very nice language.
What's hugely disappointing is the lack of generics. Without generics Go will
become a nice niche language without the muscle to seriously challenge C++.

Offline

#7 2009-11-11 12:23:11

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Google has a new programming language

I thought the name was familiar... this will be interesting !

Deej

Offline

#8 2009-11-11 14:01:05

Minishark
Member
Registered: 2009-09-30
Posts: 23

Re: Google has a new programming language

I'm always highly skeptical when a new language comes out, especially when it claims to have the best of all programming worlds. Since this one is backed by Google, it's more likely to succeed than your average language. However, until I see third-party developers embracing it to build awesome things, I'm not going to be able to see it as anything more than an interesting experiment in language design.

Offline

#9 2009-11-11 17:03:23

pichulines
Member
From: Spain
Registered: 2009-06-26
Posts: 22
Website

Re: Google has a new programming language

is it necessary to create a new programming language, a new web browser, a new operatiing system...? or just is it a way of control?

Offline

#10 2009-11-11 17:29:42

Minishark
Member
Registered: 2009-09-30
Posts: 23

Re: Google has a new programming language

pichulines wrote:

is it necessary to create a new programming language, a new web browser, a new operatiing system...? or just is it a way of control?

Whether or not they're necessary is up for debate.
However, I can assure that Google isn't doing it simply out of the goodness of their heart. If they didn't think all these things would be good for their business, they wouldn't have done them.

Offline

#11 2009-11-11 18:49:34

madalu
Member
Registered: 2009-05-05
Posts: 217

Re: Google has a new programming language

Minishark wrote:
pichulines wrote:

is it necessary to create a new programming language, a new web browser, a new operatiing system...? or just is it a way of control?

Whether or not they're necessary is up for debate.
However, I can assure that Google isn't doing it simply out of the goodness of their heart. If they didn't think all these things would be good for their business, they wouldn't have done them.

Plus Google can take for granted the fact that 1000s of drooling techies will gobble up whatever fresh or not so fresh meat they toss out.

Google does seem intent on reinventing the wheel these days. Everything, it seems, has to be in house and Google branded. Wave is email "reinvented." Chrome OS is the OS "reinvented." And so on.

Offline

#12 2009-11-11 19:01:43

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: Google has a new programming language

One thing I heard that GO doesn't have, is a large standard library. I think that this is a major downer for this language. For instance, I can't imagine python as being such a useful language without its "batteries included" library.

Offline

#13 2009-11-11 19:13:27

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Google has a new programming language

The lack of necessity often prevents progress because it allows people to settle for "good enough", so it is never an argument against creating something new. I have no opinion of Go at this point so I can't comment on what improvements it brings, if any, but it bring some innovation that might spill over to other languages. It's the same thing with Chrome. A new browser wasn't necessary, but they did some things differently and now other browser developers are looking at it and getting ideas.

As for control etc, I agree with the previous sentiment of suspicion. I avoid everything Google as much as possible and I realize that as a corporation, nearly everything they do is aimed strictly at improving their market position and ultimately making money which is their bottom line. Having written that, I also believe that there are some genuinely well-meaning people at Google who create some interesting things purely for the benefit of others or even just for the sake of it.

It would be interesting to see some benchmarks. I would imagine that opening a port and sending all the variables back to Google will cause a performance hit. Garbage collection indeed.


*edit*

tomd123 wrote:

One thing I heard that GO doesn't have, is a large standard library. I think that this is a major downer for this language. For instance, I can't imagine python as being such a useful language without its "batteries included" library.

It's brand-new. If Google starts to market it, the standard library will grow in no time. Not only will there be widespread interest in it and thus a wave of community projects, but Google can throw money at it like a drunken millionaire at a strip club.

Last edited by Xyne (2009-11-11 19:18:10)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#14 2009-11-11 19:59:01

GGLucas
Member
Registered: 2008-03-13
Posts: 113

Re: Google has a new programming language

.

Last edited by GGLucas (2022-06-24 08:04:15)

Offline

#15 2009-11-11 22:36:36

llcawthorne
Member
From: Columbia, SC
Registered: 2009-10-16
Posts: 142

Re: Google has a new programming language

If it already resembles C, then perhaps that will make it easy on whoever decides to fork DWM and port it into this new language.


To understand recursion, you must understand recursion.

Offline

#16 2009-11-11 22:52:24

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Google has a new programming language


ᶘ ᵒᴥᵒᶅ

Offline

#17 2009-11-11 23:21:33

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Google has a new programming language

Ken_n_dennis.jpg

Ken has a proper beard. This should put many doubts to rest.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#18 2009-11-12 05:42:50

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: Google has a new programming language

llcawthorne wrote:

If it already resembles C, then perhaps that will make it easy on whoever decides to fork DWM and port it into this new language.

changeset:   1:411a7038c17a
tag:         tip
user:        Anselm R Garbe <garbeam@gmail.com>
date:        Wed Nov 11 19:29:44 2009 +0000
files:       README
description:
added some README


diff -r 7c8525d1b98c -r 411a7038c17a README
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/README    Wed Nov 11 19:29:44 2009 +0000
@@ -0,0 +1,6 @@
+To build, perform the following commands (make sure your Go env is setup correctly):
+
+       make -f xlib.mk
+       make
+       make dwm
+

Offline

#19 2009-11-24 02:10:28

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

Re: Google has a new programming language

Anyone have prepared the PKGBUILD for golang?

I just want to take a play.


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

#20 2009-11-24 03:32:19

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: Google has a new programming language

Woah.  Ken Thompson worked on this!?
(For the uninitiated, he is the K in K&R, as in helped write The C Programming Language and also helped create the C language, and, he helped write Unix)

My interest raised by 100%.

Offline

#21 2009-11-24 04:43:29

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: Google has a new programming language

Ranguvar wrote:

Woah.  Ken Thompson worked on this!?
(For the uninitiated, he is the K in K&R, as in helped write The C Programming Language and also helped create the C language

Quick correction, the K in K&R is for Brian Kernighan (http://en.wikipedia.org/wiki/Brian_Kernighan).  Ken Thomson did work on Unix and Plan9.  Both very interesting and important people.

Offline

#22 2009-11-24 23:19:14

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Google has a new programming language

It looks like C, but smells of Java. A wolf in sheep's clothing. Not trying to put Java down, but that's what I notice.

I reckon this'll be like C# in terms of popularity.


Personally, I'd rather be back in Hobbiton.

Offline

#23 2009-11-25 00:14:36

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: Google has a new programming language

tom5760 wrote:
Ranguvar wrote:

Woah.  Ken Thompson worked on this!?
(For the uninitiated, he is the K in K&R, as in helped write The C Programming Language and also helped create the C language

Quick correction, the K in K&R is for Brian Kernighan (http://en.wikipedia.org/wiki/Brian_Kernighan).  Ken Thomson did work on Unix and Plan9.  Both very interesting and important people.

Epic failure on my part yikes
The shame x.x

However, Thompson did work on the B programming language, which C was inspired by and is similar to in quite a few ways smile

@Anikom:
As in, quite popular and successful, except where multi-platform and open source is concerned?
I think rather the opposite.  Go isn't tied to a set of Google APIs like C# is to .NET.

Last edited by Ranguvar (2009-11-25 00:16:10)

Offline

#24 2009-11-29 18:58:29

spupy
Member
Registered: 2009-08-12
Posts: 218

Re: Google has a new programming language

It looks like the a side project. Google employees work 20% (?) of their time on their own ideas. Some projects get released if they are worth it. I don't see this a part of google's plan for world domination.


There are two types of people in this world - those who can count to 10 by using their fingers, and those who can count to 1023.

Offline

#25 2009-11-30 01:15:37

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Google has a new programming language

spupy, it's continuing the legacy of some projects from Plan 9.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB