Christopher Smith wrote: > The register-based VM did give it a performance boost, but it is worth > noting that the Lua VM does not have a JIT, and so it gets a huge speed > boost from anything that reduces the number of trips through the > interpreter loop. Plus, without a JIT, the runtime doesn't do things > like register allocation, which is part of the rationale for not > bothering with registers in a VM (that, and if you run on a lot of > platforms you have no idea how many registers you have to work with). > I should also mention that the Lua C API remains a stack based interface, which is the source of some annoyance, although it is very simple.
--Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
