[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT: is Coco a requirement?
- From: Ketmar Dark <ketmar@...>
- Date: Thu, 25 Oct 2007 16:50:37 +0300
hello, Mike Pall <mikelu-0710@mike.de>.
On Thu, 25 Oct 2007 15:27:53 +0200
Mike Pall <mikelu-0710@mike.de> wrote:
> Q: Which of the extra features of Coco/LuaJIT are useful for you?
> 1. yield() across pcall().
> 2. yield() across iterators (for x in my_iter() do ...).
> 3. yield() across metamethods (__index, __add, ...).
> 4. yield() across callbacks from (your own) C functions.
> 5. lua_yield() from (your own) C functions and resume back to them.
1,2,4.
> Q: Is 32 bit bitwise arithmetic (using the standard number type)
> sufficient or would you rather have fixed length bitvectors
> (heap allocated)? Or both?
32 bits are just fine. %-)