Hacker News new | ask | show | jobs
by trailfox 4819 days ago
I'm interested to see if it is still going to be clobbered by Java and Scala the way Go 1 was.
2 comments

Curious downvote for a factually accurate post...

source: http://benchmarksgame.alioth.debian.org/u32q/benchmark.php?t...

Probably downvoted for not providing a link to the benchmarks that show Java and Scala out-performing Go 1.0?

I know of Collin VanDyck's web service showdown (http://boundary.com/blog/2012/09/17/comparing-go-and-java-pa...) which showed that Java had lower latency and higher throughput for highly concurrent tasks based on a very simple code base, but net/http performance in Go 1.0 wasn't a high priority. It seems that it has since been bumped up the priority list and a lot of work has been going on (https://groups.google.com/d/topic/golang-nuts/zeLMYnjO_JA/di...).

The thing is, Go isn't just for writing web apps. If you have a look at some of the real world use cases for Go (there's a list in another comment here somewhere) you'll notice that these aren't just web apps.

Every bit of Go code I've written (web app, mp3 database generator, encryption library) has been blisteringly fast, and it seems Go 1.1 will bring substantial performance improvements again.

Oh, and I didn't down-vote you, I don't yet have that privilege.

Thanks, I've added the link now.
This one is more applicable for most people (it is 64 bit) and Go does a little better: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

Also, don't forget at the time of this posting that page is showing Go 1.0.3 not 1.1 beta.

fwiw

    binarytrees#3 18.576s (go1.1beta1 17.298)

    binarytrees#1 114.303s (go1.1beta1 121.446s)

    binarytrees#5 123.890s (go1.1beta1 138.230s)

    chameneosredux#5 4.984s (go1.1beta1 4.482s)

    fannkuchredux#1 98.413s (go1.1beta1 73.698s)

    fasta#1 10.620s (go1.1beta1 6.937s)

    fastaredux#2 2.164s (go1.1beta1 1.964s)

    knucleotide#1 308.240s (go1.1beta1 213.563s)

    knucleotide#5 75.117s (go1.1beta1 77.791s)

    mandelbrot#6 75.166s (go1.1beta1 46.689s)

    meteor#1 0.159s (go1.1beta1 0.136s)

    nbody#1 32.135s (go1.1beta1 22.867s)

    pidigits#4 4.016s (go1.1beta1 3.329s)

    regexdna#1 161.505s (go1.1beta1 157.733s)

    revcomp#3 1.573s (go1.1beta1 1.455s)

    revcomp#1 1.188s (go1.1beta1 0.997s)

    revcomp#2 1.495s (go1.1beta1 1.311s)

    spectralnorm#3 22.727s (go1.1beta1 15.706s)

    threadring#5 9.893s (go1.1beta1 12.919s)
http://benchmarksgame.alioth.debian.org/u64/go.php#about
Awesome! Thanks.