Chris Smith wrote:
> == More details about proposed interface ==========================
[...]
> So instead of requiring that the VM work with a set type of code generated
> by the JIT compiler, we would provide a way for the compiler and VM to
> negotiate a set of code semantics. There are two options here:
[...]
I think that JIT compiler should be written for specific VM. Of course
it can use the common source for some parts, but decision for which VM
it will generate code should be taken at compile time, not at runtime.
You propose a way to be able to use same binary JIT library in various
VMs. There is no need for it. It is a lot easier to have separate JITs
for every VM.
Artur