From the speed of operation: There are three reasons to make Java's program execution: 1.Iterpreted is executed by JVM, and the non-machine can perform code directly, and C is not, of course, this is also the reason for Java across platforms; 2. Safe Sexual inspection, check security check before a serverlet is downloaded to the client, and this is necessary, of course, the execution time is consumed; 3. Stack structure Java operates in the stack structure established in memory, It is well known that the memory is already outside the CPU, and its communication with the CPU is communicating through the bus. The bus between 133MHz is already very fast, and the speed of the CPU reaches 1,2GHz is also normal, and C or the like is executed in the CPU. In all, there is a lot of faster.
Java has removed the multi-inheritance in C , and the virtual success is both difficult to master the principle of violations, and the degree of OOP of Java can reach 90%, which is a relatively pure object-oriented language. Java sacrificed operational efficiency to improve development efficiency, today's hardware speed is not the main problem, Java is in line with the current trend. Because sacrifice is the cost of machine cost, the most precious thing in the 21st century is talent rather than the machine.