The Role of Compiler in case of C/C++.
- In any technology is to prepare the codes for the execution corresponding to the platform. The compiler of C language always prepares the code for the any specific Operating System.
- Turbo C always prepares the code for the windows Operating System.
|
C/C++ Compilation process |
JAVA Compilation
- Platform Independent application software is the software that can be run on the any platform. When the compiler on the technology does not generate the code specifically for any platform then the code is consider as the platform independent.
- In case of java the compiler never reads the code for any Operating System the java compilers create the codes for JVM.
- Java compiler generates the .class file that contains the write byte code. Byte code is not native to any Operating System rather it is native to JVM.
|
JAVA compilation process |
- There are the different JVM for the different operating system. JVM can be installed or uninstalled separately.
No comments:
Post a Comment