lua-users home
lua-l archive

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

On Thu, Jul 9, 2009 at 3:34 PM, Fabio Mascarenhas<> wrote:
> Yep, that is why I said that it is good for a quick hack, but for
> adding to Alien I prefer to use 64-bit long userdatas and implement
> all the arithmetic and bitops on those. LGMP is just something Phoenix
> could use to add 64-bit support to Alien in half-dozen lines of code.

Which in fact would be generally useful when dealing with this common
problem, maybe factor it out as 'alien.uint64' like 'alien.struct'

steve d.