News for hackers. Stuff that matters.
Re:Gcc compile error with 2GB of data by malkia on Thursday June 09, 2011 @08:18PM (#2639277)
I suggested to try and use LuaJIT.

It has very good double precision floating point, and it looks like SSE/SIMD were not used directly from the code.

LuaJIT should garbage collect unused code, if not it always regenerates it. It should be able to compile and execute tons of code as he has (and it looks like all his stuff is generated, but for C++).

Re:Gcc compile error with 2GB of data by premchai21 on Thursday June 09, 2011 @09:39PM (#2639445)
Last I checked, the LuaJIT allocator on AMD64 platforms uses only a small part of the address space for the Lua heap, partly so that more efficient type-punned representations can be used internally. I don't remember what the limit is exactly, but it's only a few GB (and beyond that the GC starts having trouble anyway). I don't know whether this applies to the machine-code JIT output, or to external cdata arrays, but it's something to watch out for here.