3 ms·
The biggest problem is that Go's garbage collector is conservative and slow. Add in that I don't think Go's optimizer is yet as good as HotSpot's, and you've g
by gecko 13y ago
The biggest problem is that Go's garbage collector is conservative and slow. Add in that I don't think Go's optimizer is yet as good as HotSpot's, and you've got the recipe for those benchmarks.
- dbaupp 13y agoGo is getting a fully precise GC in the next release apparently: http://talks.golang.org/2014/go1.3.slide#4 http://talks.golang.org/2014/go1.3.slide#4 Also, the default Go compiler essentially has no optimiser at all, just some weak inlining + a language designed to be easy to compile directly to non-horrible machine code without much effort. GCCGo will be much faster.