Breaking News
Home / Java / Java FAQ / How do you compare C++, Go, Java and Scala?

How do you compare C++, Go, Java and Scala?

Benchmark

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]

Check Also

When is OCAJP Java certification going live?

After completing the BETA phase of testing last year, the Oracle’s new OCAJP Java certification, …

Leave a Reply