lua-users home
lua-l archive

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


> 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
future. ;)

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
operations.

Thanks for the input all.

  John