Home > Back-end > Compiled and interpreted languages is the real difference?
Compiled and interpreted languages is the real difference?
Time:09-27
As is known to all, compiled language after a compilation, the corresponding machine code generation platform and packaged into platform can identify the enforceability of the program, but its portability and execution efficiency is for an executable program, good portability and interpreted languages, is the source code for the program, and, obviously, compiled language generated executable program execution efficiency, certainly more than interpreted languages first compiled implementation of high efficiency, therefore, it's hard for me to understand their comparable?
CodePudding user response:
Is the code to the implementation process, of course you can compare
And there's a JIT, instant way to compile the compiler
CodePudding user response:
High efficiency is not necessarily the best, As if the plane must be faster than bike, why there are so many people don't choose to fly to buy food?
So want to make a choice according to different scenarios, sometimes you will feel better by plane, sometimes you'll feel like riding a bike is better,
Compiled faster than interpreted, but the fast is calculate by millisecond to fast a few milliseconds, human has no sense, so dealing with human interface is usually interpreted, should change to take effect immediately, without waiting for compilation, it interpreted the biggest advantage is free, when something goes wrong also can see the source code,