If you still don't get it at this point there's not much I can do for you ;]
Quote:
Originally Posted by @$3.1415rin
just pick the "Normal" case : the AMX bytecode is translated to C and then compiled and executed ? or is this C code then interpreted ? since you wrote "C interpreter" ...
|
The bytecode is never translated to C. The bytecode is interpreted by an interpreter written in C (and none of this was written by me).
Quote:
Originally Posted by @$3.1415rin
why not compile the AMX bytecode to native machine code and then execute it ? why do you need JIT ?
|
That is exactly what the JIT does. Technically, I said earlier you could make the distinction that AMX JIT is actually an AOT (Ahead of Time compiler) but I won't because the author calls it a JIT.
Java's JIT is supposedly an AOT as well... Microsoft's .NET has a true JIT wich compiles certain portions of bytecode on the fly, as it analyzes the code as its running and is able to make specific optimizations.
I may be wrong about Java, but there you have it.