lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Sat, Jun 15, 2013 at 6:11 PM, Miles Bader <> wrote:
> Roberto Ierusalimschy <> writes:
>> It will not use the NaN trick. (The trick does not work anyway in 64-bit
>> machines.)
> I think the NaN trick *could* work in 64-bit machines...
> -miles

The problem is that on modern OSes, you can't assume that you can fit
a 64-bit pointer in 48 bits. This is (part of) why LuaJIT demands to
use the low 2GB.

/s/ Adam