3 ms·
For me one of the big problems I have with luajit is using it in 64bit applications. luajit internals need to exist within the first 4gb of memory, and in some
by jamesu 10y ago
For me one of the big problems I have with luajit is using it in 64bit applications. luajit internals need to exist within the first 4gb of memory, and in some situations this can be a PITA to properly satisfy. There are solutions, but none I feel too comfortable with using especially cross-platform.
Given luajit development seems to be stalled, I don't have much confidence this will ever be fixed.
- corsix 10y agoTry building (the `v2.1` branch of) LuaJIT with `CFLAGS=-DLUAJIT_ENABLE_GC64`. This flag is a relatively recent addition [1], and didn't have JIT support on x64 until really very recently [2], but it should free you from the 4gb limitation. [1] https://github.com/LuaJIT/LuaJIT/commit/a92e73023353e59405ebfdb2837b5742d17946a5 https://github.com/LuaJIT/LuaJIT/commit/a92e73023353e59405eb... [2] https://github.com/LuaJIT/LuaJIT/commit/2868715d80b6ac497a7f08393ec325b60d71df8d https://github.com/LuaJIT/LuaJIT/commit/2868715d80b6ac497a7f...
- chanks 10y agoLooking at your PR for it (https://github.com/LuaJIT/LuaJIT/pull/149 https://github.com/LuaJIT/LuaJIT/pull/149) it sounds as if there are a few issues remaining, but I'm not enough of an expert to know how problematic they are in practice. Do you think that this feature is stable enough for production use?