3 ms·
my biggest annoyance with LuaJIT is the lack of 64-bit addressing, and there's no easy fix for this. Mike Pall said he'd fix it in LuaJIT 3.0 (with an overhaul
by smhx 12y ago
my biggest annoyance with LuaJIT is the lack of 64-bit addressing, and there's no easy fix for this. Mike Pall said he'd fix it in LuaJIT 3.0 (with an overhaul of the GC), whenever that'll be.
http://hacksoflife.blogspot.com/2012/12/integrating-luajit-with-x-plane-64-bit.html http://hacksoflife.blogspot.com/2012/12/integrating-luajit-w...
Edit: to clarify, this does not mean torch cant use more than 2GB, but native lua allocations cant be more than 2GB, so ffi-based or C based allocations (which is how torch tensors are allocated) have no such limits.
- neomantra 12y agoThis is a big annoyance for me as well. I use jemalloc to make sure that my FFI allocations don't 'steal' this lower memory from my pure Lua allocations. It works great on Linux, but only so-so on OSX. http://www.canonware.com/pipermail/jemalloc-discuss/2014-February/000740.html http://www.canonware.com/pipermail/jemalloc-discuss/2014-Feb... https://gist.github.com/neomantra/9122165 https://gist.github.com/neomantra/9122165