3 ms·
Does this still only support 2 Gb of RAM? (https://stackoverflow.com/questions/35155444/why-is-luajits-memory-limited-to-1-2-gb-on-64-bit-platforms https://sta
by otabdeveloper1 8y ago
Does this still only support 2 Gb of RAM?
(https://stackoverflow.com/questions/35155444/why-is-luajits-memory-limited-to-1-2-gb-on-64-bit-platforms https://stackoverflow.com/questions/35155444/why-is-luajits-...)
- lukego 8y agoNo, that restriction is gone. Peter Cawley did the hard work and added optional support for 64-bit heaps to LuaJIT upstream [1] and RaptorJIT adopted that exclusively i.e. dropped the 32-bit heap option which involved a LOT of #ifdef'ery in thousands of lines of assembler code. [1] https://www.youtube.com/watch?v=ZeaDk9ElKws https://www.youtube.com/watch?v=ZeaDk9ElKws
- otabdeveloper1 8y agoLast I checked (which was a year or more ago), 64-bit GC for LuaJIT is an experimental and buggy feature. Do people actually use it in production? Since which version of LuaJIT?
- lukego 8y agoThe bugs have been shaken out now and it works fine in production. That's true at least on x86-64 with common build options and the latest LuaJIT prerelease.