|
I'm also pretty sure it might be compiler independent (as in, C compiler used to compile Lua) as well but most importantly, there are cases that Lua bytecode is incompatible across environmentsOn Fri, Oct 7, 2016, 12:29 PM Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:> >The luac (5.1) manual says that:
> >"The binary files created by luac are portable to all
> >architectures with the same word size."
> >(http://www.lua.org/manual/5.1/luac.html ).
> >
>
> This is not the whole truth, the architectures also need the same endianess.
This was fixed in Lua 5.2:
"Precompiled chunks are not portable across different architectures."
http://www.lua.org/manual/5.2/luac.html
--