Linked by Thom Holwerda on Wed 11th Nov 2009 14:21 UTC
Thread beginning with comment 394617
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[6]: At first was sceptical, but has a few good points
by vivainio on Sat 14th Nov 2009 13:44
in reply to "RE[5]: At first was sceptical, but has a few good points"
Which would also explain the benchmarks:
http://shootout.alioth.debian.org/u64/benchmark.php?test=all〈=go&...
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.
RE[7]: At first was sceptical, but has a few good points
by FealDorf on Sat 14th Nov 2009 15:34
in reply to "RE[6]: At first was sceptical, but has a few good points"
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






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...