lua-users home
lua-l archive

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


>Is compiled code generated from luac endian-dependent?

No. The man page http://www.lua.org/manual/luac.html says:

 The binary files created by luac are portable to all architectures with
 the same word size. This means that binary files created on a 32-bit
 platform (such as Intel) can be read without change in another 32-bit
 platform (such as Sparc), even if the byte order (``endianess'') is
 different. On the other hand, binary files created on a 16-bit platform
 cannot be read in a 32-bit platform.

--lhf