C++ versus Java

...ams are generally compiled into native machine object code and executed directly as a process running under the local operating system, while Java programs are compiled into the bytecode instructions of the Java Virtual Machine and are executed using the Java interpreter or a Java-compatible browser. This translation takes some amount of time and, no matter how small a length of time this is, it is inherently slower than performing the same operation in machine code. In addition, C++ source code files are processed by a preprocessor before they are submitted to the compiler, while Java does not use a preprocessor. This difference in speed has some important implications. Even with all of Java's benefits, Java will not be widely accepted if it can not perform adequately. C++ has been widely adopted by developers and they will not be willing to change languages if the applications they develop with Java do not measure up to their standards. However, if the speed difference is negligib...

Essay Information


Words: 310
Pages: 1.2
Rating: None

All Papers Are For Research And Reference Purposes Only. You must cite our web site as your source.