A recent benchmark done by Google for each of these languages by implementing an algorithm using each language classes, looping constructs, and memory/object allocation schemes and here’s how the benchmark result looked like.
- C++ provides the best performance by far, but it requires the most extensive language-specific tuning.
- Scala provides the most concise notation and optimization of code complexity.
- The algorithm was simplest to implement in Java, but garbage collection settings make both Java and Scala difficult to bench mark accurately.
- Go offers concise notion and very fast compile time, but is still immature.
I agree with the benchmark results what do you think?[pb_builder]