lua-users home
lua-l archive

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


On Tue, Nov 3, 2015 at 4:55 PM, Brigham Toskin <brighamtoskin@gmail.com> wrote:
> On Thu, Oct 8, 2015 at 10:45 AM, Sean Conner <sean@conman.org> wrote:
>>
>>   I don't think you can mix binary and text, as the current parser isn't
>> expecting it.  Even assuming it worked, you still have to deal with endian
>> and size issues (say, going from 64-bit big endian to 32-bit little
>> endian).
>
>
> Isn't Lua bytecode platform-agnostic, so long as it matches the point
> release, i.e. Lua 5.3 on 32 bit big endian MIPS Linux could load Lua 5.3
> bytecode compiled on 64 bit Intel OS X?
>
> --
> Brigham Toskin

You may be thinking of LuaJIT bytecode, which IS platform-agnostic.

/s/ Adam