Java is a programming language with the lowest execution efficiency I have ever seen. It was recently evaluated on the CSDN forum to calculate the 9999 factorial and the same cyclic algorithm, java time consumption is. NET 5 times. I used to like Serv-U very much. I have never used Serv-U since it was rewritten in Java. It is too slow. I would rather use IIS to set up FTP, although IIS is not flexible in setting up FTP permissions.
I have a classmate who is engaged in Java. He told me that "Java is not inefficient, but slow .", I am not engaged in Java. I really cannot figure out the meaning of this sentence. Isn't the execution speed slow or the efficiency low? Is the execution speed slow and the efficiency high?
In fact, Java is dedicated in the world because of its cross-platform and security. efficiency is not Java's strength, but the shortest baffle, although Java always uses theory to prove the ratio. NET fast.
Maybe C # copied Java when I first went public, but since C #2.0 went public, the entire situation has turned around. Not only does Java imitate C #, and he never kept up with C.
Java is far lower than VB. NET in terms of security, and cannot be compared with C #, which is famous for its security.
Maybe the only reason for the world to Miss Java is its trump card-cross-platform.
To be honest, Java cross-platform is not the kind that outsiders think about at all. It can be compiled and run everywhere.
Because the APIs of different systems are different, code Calling API programming may encounter many incompatibility issues. For example, after Java rewriting, Serv-U cannot be executed on the mobile phone, mobile Games cannot be directly executed on a microcomputer.
In the final analysis, Java can be used across platforms, but code should be re-written. Otherwise, what else can be divided into J2EE/J2SE/J2EE!
If you need to re-compile the code, almost any computer language can be cross-platform, but Java is also needed, and other languages such as PHP/C # do not need to modify the code can be cross-Windows/Linux.
In addition, small software code reuse is of low value and there is no need for cross-platform software. Large software has strict planning and deployment, and cannot be freely cross-platform.
Java has been deceiving us for so many years. In today's multi-core era, I think it is exhausted!