[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bytecode
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 6 Dec 2011 11:00:13 -0200
> Lua bytecode is portable (a) across the same major.minor release (b)
> and provided that the compiling machine and the target machine have
> the same number of bytes per integer?
(a) yes. The ABI remains the same in minor releases.
see http://www.lua.org/versions.html#numbering
(b) no: endianness, sizeof(int), sizeof(size_t), sizeof(Instruction),
sizeof(lua_Number), and type of lua_Number should all be equal.