0

When are the language codes to be compiled (and / or) interpreted?

what is the role of compilers and IDEs in this?

10th Dec 2016, 7:14 PM
Kazi
Kazi - avatar
2 Antworten
+ 3
Compiled when you need speed and interpreted when you need them to run on multiple platforms. Java can be both.
10th Dec 2016, 8:44 PM
Karl T.
Karl T. - avatar
0
ok so have you heard about Java being available for any operating system with a Java virtual machine this means that Java code is interpreted to code that is distributed and compiled on the virtual machine which causes Java to be "slow" (this is just an example) compiling is the act of changing a high level language to machine code directly interpretation is code that can be understood like assembly you don't need to compile assembly Java passes through all the stages when you hit run
10th Dec 2016, 9:39 PM
Abdelrahman