Linked by Thom Holwerda on Wed 11th Nov 2009 14:21 UTC
Google Google has invented a new programming language designed to reduce the complexity of coding without compromising the performance of applications. Called Go, the language has been tested internally at Google but is still at an experimental stage, so the company is releasing it as open-source code in the hope that it will get help with its future development.
Thread beginning with comment 394617
To view parent comment, click here.
To read all comments associated with this story, please click here.
FealDorf
Member since:
2008-01-07

Ah, that's *exactly* what I was trying to say earlier but I wasn't sure if I had the right words... Nevertheless, that means it is as efficient as "virtual C++".

Which would also explain the benchmarks:
http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=g...

Reply Parent Bookmark Score: 1

vivainio Member since:
2008-12-26



There is no point wasting too much time on benchmark comparisons right now, esp. for the "6g" compiler which doesn't optimize seriously yet.

Go by no means forces you to use interfaces, direct method calls don't go through the interface jump table.

Reply Parent Bookmark Score: 2

FealDorf Member since:
2008-01-07

No, but it sure gives one a rough estimate of how 'fast' a language because I don't think optimizations can contribute to a great change in it, especially because it's not like Java or C# which has a complex type system or so, but then I'm not so knowledgeable in this area.
Also, interfaces are not used in that submitted code (which is by the Go creators)..

I'm just sceptical about the "as fast as C" claims when the languages are of much higher-level. And Go is sufficiently high level. After optimizations I expect it to optimistically meet the speeds of C# Mono implementation but not too much more than that..

Edited 2009-11-14 15:37 UTC

Reply Parent Bookmark Score: 1