lua-users home
lua-l archive

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


Edgar Toernig wrote:

Are Lua-only coroutines really required? Small survey?

- Who is using them at the moment?
I'm using them quite heavily - they were a big reason for choosing Lua for my current project.

- Are the Lua-only couroutines good enough for you?
Yep. The few C functions I've written that needed to yield were easy enough to split into cooperating C and lua functions.

- Would you switch to C-level coroutines if they were
 available?
I'm not sure really I need them, and I'd have the same concerns other people have raised about memory usage and portability (especially wrt games consoles).


Cheers,

Mike F