> Just read the Neko vs Lua comparison: > > http://nekovm.org/lua > > Thought you might find this of interest, since it could significantly > speed up Neko:
Thanks, I will have a look at the paper, but that's a good'old debate :) On x86, the number of available registers is very small, so if you have to keep a pointer to the VM stack, a pointer to the C stack, one accumulator and one temporary register, you're already almost out of additional regs to perform operations. Neko is actually based on a single-register architecture (the accumulator) so not everything is pushed/poped on the stack for every operation. If I remember correctly I think Lua has two. Nicolas -- Neko : One VM to run them all (http://nekovm.org)
