luaplus51-all icon indicating copy to clipboard operation
luaplus51-all copied to clipboard

LuaJIT Compatibility

Open mattholley opened this issue 11 years ago • 1 comments

Hey Josh,

I was taking a look at the latest in the NextGen branch, and noticed that there are now source folders for Lua 5.1/5.2/5.3 etc. I was wondering if LuaPlus is now compatible with non-modified versions of the Lua core, and if so have you done any work integrating LuaJIT with LuaPlus?

Edit: I ran some tests on my own and to my surprise I was able to get LuaJIT working in 30 minutes, I had to make some minor changes and would like to know the impact of them and whether what I have done is of any concern.

https://github.com/mattholley/luaplus51-all/commit/97599f0243b606999aec3406760bbf1924cfb02e

The main of which is the luaI_openlibs with an 'i', is this actually part of the lua core? I have had trouble finding any reference to it, also LuaJIT recommends to use luaL_openlibs instead.

Thanks

mattholley avatar Mar 04 '14 14:03 mattholley

我也非常想在LuaPlus里面使用Luajit, 呵呵

toophy avatar Apr 13 '17 01:04 toophy