hirephpexpert
New Member
- Joined
- Feb 9, 2012
- Messages
- 23
- Reaction score
- 0
There is no single best programming language. Which one a person chooses depends on what he or she is trying to do. Some languages have advantages in particular areas though.
For C++:
> It is more processor efficient than Java as it compiles down to binary code.
> It does not require JVM to run.
> Most programs that run on computers these days, including the OS, are written in C or C++.
For Java:
> Code portability. A program written in Java can run on any computer and operating system with Java Virtual Machine.
> Garbage collection prevents memory leaks and other problems that can arise with slap dash C++ code.
For C++:
> It is more processor efficient than Java as it compiles down to binary code.
> It does not require JVM to run.
> Most programs that run on computers these days, including the OS, are written in C or C++.
For Java:
> Code portability. A program written in Java can run on any computer and operating system with Java Virtual Machine.
> Garbage collection prevents memory leaks and other problems that can arise with slap dash C++ code.

