1 Respuesta
0
A compiler is OS and hardware dependant, so the code has to be compiled again for each type of target machine.
You need to have a compiler specific to that machine in order to create the executable, and then you need access to the target environment for testing and troubleshooting.
The interpreter/runtime (for python , Perl, nodejs, java) is already compiled, optimised and tested for the target machine, and the actual python program runs (hopefully) the same way in all the environments where the interpreter is installed.