Google releases new programing language.

D

Don McKenzie

Guest
Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!


Cheers Don...



--
Don McKenzie

Site Map: http://www.dontronics.com/sitemap
E-Mail Contact Page: http://www.dontronics.com/email
Web Camera Page: http://www.dontronics.com/webcam
No More Damn Spam: http://www.dontronics.com/spam
 
On Fri, 13 Nov 2009 05:43:06 +1100, Don McKenzie <5V@2.5A> wrote:

Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!
Looks interesting, in the sed->awk->Perl tradition perhaps.

But "goroutines"? Somebody should be flogged...

--
Rich Webb Norfolk, VA
 
On Fri, 13 Nov 2009 05:43:06 +1100
Don McKenzie <5V@2.5A> wrote:

Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!


Cheers Don...
Looks a lot like Python, but with a compiler instead of an
interpreter. *shrug*

--
Rob Gaddi, Highland Technology
Email address is currently out of order
 
Rich Webb wrote:
On Fri, 13 Nov 2009 05:43:06 +1100, Don McKenzie <5V@2.5A> wrote:

Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!

Looks interesting, in the sed->awk->Perl tradition perhaps.

But "goroutines"? Somebody should be flogged...

gotines?
gootines?
They got into trouble as soon as they named it "go"

Bob
 
Don McKenzie wrote:
Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!
This is comp.arch.embedded - where's the compilers for non-x86 targets?
I suppose that gccgo could be re-targeted, if the run-time library is
not too difficult to port.

From a very quick glance, it looks like some good points:

Source in utf-8 with utf-8 support throughout (not a big deal for
embedded systems, but great for "big" systems);

Proper modules and namespaces;

Useful standard libraries;

Inferred strong typing;

Mandatory braces in for, if and switch statements;

Proper arrays that are distinct from pointers;

Maps (like Python dicts or Perl hashes);

Support for processes and communication;

Explicitly sized integers;


and some bad points:

Separate compiler and linker steps (you'd think they would have learned
from the "success" of gcc's link-time optimisation project);

Much of the ugliness from C, with a good dose of its own (though less
than C++ templates);

Currently limited to x86 and amd64.
 
On Thu, 12 Nov 2009 12:09:47 -0800, Bob <SkiBoyBob@excite.com> wrote:

Rich Webb wrote:
On Fri, 13 Nov 2009 05:43:06 +1100, Don McKenzie <5V@2.5A> wrote:

Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!

Looks interesting, in the sed->awk->Perl tradition perhaps.

But "goroutines"? Somebody should be flogged...

gotines?
gootines?
They got into trouble as soon as they named it "go"
A quite decent review by MarkCC over at Good Math, Bad Math
<http://scienceblogs.com/goodmath/2009/11/googles_new_language_go.php>

Mark qualifies as One Smart Cookie and he has had some time to play with
the language since he works at Google. Short version: ... nah, read the
original; it's not too long and has useful insights.

The best, though, was from commentator James H G Redekop: "I get this
feeling they picked the name so that when they put out the next version
of the language, they can call it Go2 and make Dijkstra jokes."

--
Rich Webb Norfolk, VA
 
Rich Webb wrote:
On Fri, 13 Nov 2009 05:43:06 +1100, Don McKenzie <5V@2.5A> wrote:


Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!

Looks interesting, in the sed->awk->Perl tradition perhaps.

But "goroutines"? Somebody should be flogged...
Can't it print simple words ? Lazzo may be interested....


geoff
 
On 2009-11-12, Rob Gaddi <rgaddi@technologyhighland.com> wrote:

Google releases new programing language.
http://golang.org/

Looks a lot like Python, but with a compiler instead of an
interpreter. *shrug*
To me, it looks a lot more like C/Java than it looks like
Python:

* whitespace isn't significant

* curly-braces as block delimiters

* semicolons to separate statements

When it comes to semantics rather than looks, it still doesn't
seem all that similar to Python. In general, the object/type
system doesn't seem to be comparable (Go has no inheritence).

Go also has no exceptions or any practical error-handling
facilities.

All in all, I was pretty underwheled.

--
Grant Edwards grante Yow! I have the power to
at HALT PRODUCTION on all
visi.com TEENAGE SEX COMEDIES!!
 
On 2009-11-12, Grant Edwards <invalid@invalid.invalid> wrote:

When it comes to semantics rather than looks, it still doesn't
seem all that similar to Python.
[...]

One big difference between Python and Go that I forgto to
mention is that go is statically typed while Python is
dynamically typed. That's a pretty fundamental difference.

I use Python every day, and I really don't see where the
comparison to Python comes from. To me it looks more like
cleaned up Java or C with garbage collection.

--
Grant Edwards grante Yow! What a COINCIDENCE!
at I'm an authorized "SNOOTS
visi.com OF THE STARS" dealer!!
 
David Brown wrote:

Currently limited to x86 and amd64.
Well they specifically mention that an incomplete port to ARM exists so
I guess it is not too far away.
 
On Thu, 12 Nov 2009 14:13:45 -0800, -jg wrote:
Seems a confusing use of = and := ?
Are there rules to that, or does either work ?
There are rules. := is short-hand for variable declaration, typing *and*
initial assignment. = is just assignment. If you're keen on syntactic
sugar, it seems like a fairly well-thought-out way to avoid quite a lot
of boilerplate.

Don't forget the multiple result mechanism: I think that might go quite a
way towards making up for the lack of exceptions. Not a fan of
exceptions myself. The multiple returns means that one donesn't have to
pass results back through a reference argument just to get the error code
(common C idiom), or designate a range of result values as "errors".

--
Andrew
 
Don McKenzie wrote:
Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!


Cheers Don...
Great, there seems to be world wide shortage of
Computer Programming Languages.

But kinda just looks like Microsoft + Borland + C + Pascal + Perl
 
Andrew Reilly schrieb:
Don't forget the multiple result mechanism: I think that might go quite a
way towards making up for the lack of exceptions. Not a fan of
exceptions myself. The multiple returns means that one donesn't have to
pass results back through a reference argument just to get the error code
(common C idiom), or designate a range of result values as "errors".

This "multiple return" reminds me of LUA, it's a very handy feature
-- Dirk
 
On Nov 13, 7:43 am, Don McKenzie <5...@2.5A> wrote:
Google releases new programing language.http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!

Cheers Don...
Interesting, but missing was a For each,
which is a rather glaring omission on something that hopes to improve
what is already out there ?

No examples, and no EXE sizes listed
( it does create standalone EXEs, right ? )

I also liked Microsoft's ASMl language... on the topic of research-lab-
languages...

-jg
 
On Nov 13, 11:02 am, -jg <jim.granvi...@gmail.com> wrote:
Interesting, but missing was a For each,
which is a rather glaring omission on something that hopes to improve
what is already out there ?
Looking at the examples in the link above, I see
range might do this

for c := range self.chars {...

- but their keyword list omitted mention of this under for..

Seems a confusing use of = and := ?
Are there rules to that, or does either work ?

-jg
 
On Nov 13, 11:29 am, son of a bitch <bitchin_2...@yahoo.com> wrote:
Great, there seems to be world wide shortage of
Computer Programming Languages.
:)

But kinda just looks like Microsoft + Borland + C + Pascal + Perl
Yes, which could make it a good teaching tool ?

Anyone tried the IDE ? (it does have one, right?)

-jg
 
On Nov 13, 11:24 am, Andrew Reilly <areilly...@bigpond.net.au> wrote:
On Thu, 12 Nov 2009 14:13:45 -0800, -jg wrote:
Seems a confusing use of = and :=  ?
Are there rules to that, or does either work ?

There are rules.  := is short-hand for variable declaration, typing *and*
initial assignment.  = is just assignment.  If you're keen on syntactic
sugar, it seems like a fairly well-thought-out way to avoid quite a lot
of boilerplate.
Ah, yes, that's nifty...

Don't forget the multiple result mechanism: I think that might go quite a
way towards making up for the lack of exceptions.  Not a fan of
exceptions myself.  The multiple returns means that one donesn't have to
pass results back through a reference argument just to get the error code
(common C idiom), or designate a range of result values as "errors".
Yes, noticed that - a nice idea.

-jg
 
malcolm wrote:
On Nov 13, 11:29 am, son of a bitch <bitchin_2...@yahoo.com> wrote:
Great, there seems to be world wide shortage of
Computer Programming Languages.

:)

But kinda just looks like Microsoft + Borland + C + Pascal + Perl

Yes, which could make it a good teaching tool ?

Anyone tried the IDE ? (it does have one, right?)
It's a *programming language*. Why would a programming language have an
IDE?

Perhaps what you are trying to ask is whether there are syntax
highlighting setups available for commonly used IDEs such as Eclipse,
KDevelope, (x)emacs, etc.

And maybe you are also asking about the state of the debugger - does it
have one, is it based on gdb, or does it "speak" gdb and can thus be
used with existing gdb front-ends?

I don't know the answer to either of these, but it helps to ask the
right questions.
 
Don McKenzie wrote:
Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!


Cheers Don...

Great!
<sarcasm>
We really needed another one.
</sarcasm>
 
"Don McKenzie" <5V@2.5A> wrote in message
news:7m33a0F3gi5p4U1@mid.individual.net...
Google releases new programing language.
http://golang.org/

http://tech.yahoo.com/news/infoworld/20091110/tc_infoworld/99864

and for your viewing pleasure:
http://www.youtube.com/watch?v=rKnDgT73v8s
a one hour youtube video!


Cheers Don...



--
Don McKenzie

Site Map: http://www.dontronics.com/sitemap
E-Mail Contact Page: http://www.dontronics.com/email
Web Camera Page: http://www.dontronics.com/webcam
No More Damn Spam: http://www.dontronics.com/spam

Does anyone remember "The Last One", new programming language that was going
to be the absolute ultimate. It was back in the DOS days, and came in a box
with god knows how many diskettes. I didn't actually buy it, the reviews
were pretty scathing, as they should have been. IIRC, it was written in GW
Basic :)
 

Welcome to EDABoard.com

Sponsor

Back
Top