filmov
tv
Why Java is Better than C++

Показать описание
Do you know why Java is better than C++?
Java will usually run on any implementation, no matter which Java version you use. It also plays well with others.
Why do you say that?
I credit that to the Java Virtual Machine, which is so good that a few other software languages have been written to utilize JVM, too.
C++ is not as rigid as Java.
Java is better for beginners, whereas C++ is closer to the machine level logic.
That means C++ is used almost everywhere.
C++ is almost an all or nothing implementation. You can use it for sound card controls and graphics manipulation, but it lacks interfaces with other apps and takes massive manipulation to run as an embedded app.
If C++ has been around longer, you can find existing code modules for what you need.
Java code is more easily re-used, and you can find existing third party code modules for a lot of uses anyway.
So it is closer to open source.
Java has superior application interfaces, which is why users like it.
C++ is almost the foundation of computing.
Java is far better for mobile apps and concurrent applications on the cloud. That's the future of computing.
C++ applications tend to be efficient. C++ is better for scientific computing than Java.
C++ has also been voted easier to shoot yourself in the foot with. I don't consider that a vote of confidence for the language.
C++ has been rated better for real time applications.
Except for drivers and OS level interfaces, it isn't getting used for many real time applications. Apple even moved away from C++ to Objective C for their iOS development.
So Java can do almost everything.
Oh, you probably need HTML and dot-net to do a few things it can't. But it does almost everything else.
Java will usually run on any implementation, no matter which Java version you use. It also plays well with others.
Why do you say that?
I credit that to the Java Virtual Machine, which is so good that a few other software languages have been written to utilize JVM, too.
C++ is not as rigid as Java.
Java is better for beginners, whereas C++ is closer to the machine level logic.
That means C++ is used almost everywhere.
C++ is almost an all or nothing implementation. You can use it for sound card controls and graphics manipulation, but it lacks interfaces with other apps and takes massive manipulation to run as an embedded app.
If C++ has been around longer, you can find existing code modules for what you need.
Java code is more easily re-used, and you can find existing third party code modules for a lot of uses anyway.
So it is closer to open source.
Java has superior application interfaces, which is why users like it.
C++ is almost the foundation of computing.
Java is far better for mobile apps and concurrent applications on the cloud. That's the future of computing.
C++ applications tend to be efficient. C++ is better for scientific computing than Java.
C++ has also been voted easier to shoot yourself in the foot with. I don't consider that a vote of confidence for the language.
C++ has been rated better for real time applications.
Except for drivers and OS level interfaces, it isn't getting used for many real time applications. Apple even moved away from C++ to Objective C for their iOS development.
So Java can do almost everything.
Oh, you probably need HTML and dot-net to do a few things it can't. But it does almost everything else.
Комментарии