Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Quick look at the language benchmark games, and Go is not 10x slower than Java for most tests. Java is often 3-5x slower than C/C++/etc (although maybe it didn't get enough time to warm up).


A quick look at the language benchmark game, and Go varies between 7x slower than Java and approx. the same speed as Java (varies by test): http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t...

I fail to see how Go being slower than Java relates to C being faster than Java.


Well given both C and Go are native compiled languages, I would think C is a realistic (if distant) goal for Go performance, at least for algorithmic stuff where you're not bouncing in and out of the runtime. I was commenting on how far it has to go.


Ok, I see. Technically a JIT compiles to native code too, so for a long running app there shouldn't be much difference. Both Go and Java are garbage collected, but the JVM has the more sophisticated GC.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: