[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua number type and 64-bit machines
- From: John Barham <jbarham@...>
- Date: Fri, 6 Mar 2009 08:01:25 -0800
> As to the file offsets, double's 53 bits of mantissa should suffice. Gives
> one 8192TB if I wasn't mistaken.
Good point. 8192TB per file should be sufficient for the foreseeable
I do recall being bitten by a bug in a 3rd party Python module running
on 64-bit Linux that assumed that process ids could fit into 32-bit
integers. But as has been pointed out lightuserdata should handle
that particular situation, and in practice one only needs to be able
to check process ids for equality rather than the usual arithmetic
Thanks for the input all.