(11-30-2014, 06:28 PM)dopamine Wrote: Show me this PHP compiler you speak of.
All three scripts are run by interpreters, a compiler doesn't touch them at all. I don't think you know what byte code is(Its not the buffer of a file). You're mislead sir.
I don't think you know anything on the subject at all. You seem to be completely ignorant of how the system, compilers, virtual machines, and interpreters work.
These "interpreters" you speak of, compile the code to bytecode, and then get executed by their respective tools. Python language, for example, is converted to bytecode, and then run on the Python virtual machine much like Java is. although to my knowledge it doesnt actually store the intermediary file like java does (the *.class file). PHP since version 4 has used the Zend Engine to do the same thing, and since Perl 6 the Parrot virtual machine has been used to interpret the Perl 6 bytecode.
And if you want an accurate definition of the two:
A compiled language takes higher level code and converts it into machine code in one fell swoop, and can be executed directly on the machine without any further intervention.
A scripting language, uses an intermediary to convert the code in REAL TIME. every time the code is executed, it is re-interpreted into machine code. You are thus always reliant on a third party to convert the actual code into machine code. (such as the Python VM or Parrot VM).
The fact that you don't know this, really overshaddows your claim to be someone who can code in assembly. If this were the case you would know this.