lua-users home
lua-l archive

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

Johnson Lin wrote:
> So I'd like to ask some newbie questions:
> 1. If a program was originally embedded with vanilla Lua 5.1.x, where
> LuaJIT 1.1.6 actually
> worked substituting the original Lua dll, in theory LuaJIT2 should've
> worked as well, right?

I suspect your game is using pre-compiled bytecode for Lua 5.1. As far
as I heard, LuaJIT 1 uses the same bytecode but LuaJIT 2 has its own
bytecode so it isn't completely compatible with Lua 5.1.