Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

Is C++ faster than java?

Asked by Alex Gonzalez Oct 10, 2022 1.1K views 1 answer
Share

About this question

Sometimes Java outperforms C++ in benchmarks. Of course, sometimes C++ outperforms.


See the following links:


http://keithlea.com/javabench/

http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/

But how is this even possible? It boggles my mind that interpreted bytecode could ever be faster than a compiled language.

Can someone please explain?

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.