[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua 5.2 virtual machine
- From: Peter Cawley <lua@...>
- Date: Mon, 4 Feb 2013 09:37:05 +0000
On Sun, Feb 3, 2013 at 7:14 AM, Dirk Laurie <email@example.com> wrote:
> For example, in  lua has tag union (TObject?) which seems no longerThis has nothing to do with the VM. There are people who can converse
> available, only TValue can be found. In addition, the purpose of some
> variables in source is not very clear with its naming style such as
> tt__ in lobject.h.
in an informed way on these lowest-level Lua internals. Maybe one of
them could respond.
I'd argue that things like TValue have everything to do with the VM. The bytecode format might be the only public interface to the VM, but the actual implementation of the VM has equal claim to being called the VM.
As for Jason's question, TValue is still a tagged union, however under some compilation flags it can also be NaN-packed.