3 ms·
> no new features Go gets us better performance and concurrency out of the box.
by kbar13 12y ago
> no new features
Go gets us better performance and concurrency out of the box.
- Alupis 12y ago> Go gets us better performance Than Java? At best, GO performs on par with Java, but is often measured 10-20% slower.[1][2][3] This is usually attributed to the far more mature optimizing compiler in the JVM, which ultimately compiles bytecode down to native machine code, especially for hot paths. Java performance for long running applications is on par with C (one of the reasons it's a primary choice for very high performing applications such as HFT, Stock Exchanges, Banking, etc). > concurrency out of the box. Java absolutely supports concurrency "out of the box"...[4] [1] http://zhen.org/blog/go-vs-java-decoding-billions-of-integers-per-second/ http://zhen.org/blog/go-vs-java-decoding-billions-of-integer... [2] http://stackoverflow.com/questions/20875341/why-golang-is-slower-than-scala http://stackoverflow.com/questions/20875341/why-golang-is-sl... [3] http://www.reddit.com/r/golang/comments/2r1ybd/speed_of_go_compared_to_java_and_python/ http://www.reddit.com/r/golang/comments/2r1ybd/speed_of_go_c... [4] http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/package-summary.html http://docs.oracle.com/javase/7/docs/api/java/util/concurren...
- AlisdairO 12y agoHell, if we look at real-world-ish applications, the techempower benchmarks show go at easily 50% slower than a bunch of different Java options.