[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re[2]: using 'uint64_t' with Alien
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 9 Jul 2009 15:58:13 +0200
On Thu, Jul 9, 2009 at 3:34 PM, Fabio Mascarenhas<mascarenhas@acm.org> 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.