Performance of Java 1.6 vs C++?

前端 未结 8 1015
天涯浪人
天涯浪人 2021-01-07 06:04

With Java 1.6 out can we say that performance of Java 1.6 is almost equivalent to C++ code or still there is lot to improve on performance front in Java compared to C++ ?

8条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-07 06:30

    Debian likes to conduct benchmarks on this sort of thing. In their case, it appears that Java is about half as fast and consumes 2-18 times as much memory as C++.

提交回复
热议问题