On Sun, Nov 17, 2013 at 1:49 AM, Terry Moore <[email protected]> wrote: > I believe that if you want the Lua scripts to be portable across NetBSD > deployments, you should choose a well-known fixed width.
Indeed. > Watch out, by the way, for compiled scripts; I have not checked Lua 5.x, but > you may find if not careful that the compiled binary is not loadable on > machines with different choices for LP64, ILP32, etc. This is somewhat > independent of the choice of lua_Number mapping. Yes, Lua bytecode isn't portable in fact. BTW, loading Lua bytecode is not recommended by Lua team. It isn't safe. Regards, -- Lourival Vieira Neto
