[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Audience for globals discussion?
- From: Peter Odding <peter@...>
- Date: Wed, 18 Aug 2010 14:26:23 +0200
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