lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


When we speak of registers are we talking about the CPU's registers? Lua is quite abstracted from ASM, isn't it fairly hard to tell which variables actually end up in the registers even with C?

No we're not talking about CPU registers. The Lua virtual machine is known as a register-based VM. The Wikipedia article on Lua probably explains it better than I can:

http://en.wikipedia.org/wiki/Lua_%28programming_language%29#Internals

 - Peter Odding