lua-users home
lua-l archive

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

Just wondering, has there been any thought/work in making Lua 5.2 have
a resumable VM (as in [1])?  This seems like a very useful mechanism
to have a stronger coroutine system without dealing with Coco.

While Coco is pretty awesome, it's not ANSI C /AND/ it requires enough
knowledge of how the C stack is used to determine how much stack is
needed for what 'might' be called underneath.... quite a daunting task
esp when dynamic modules are loadable and you have no idea what those
might do WRT stack.

As an aside... are there any other resumable VM options out there,
perhaps with a smaller patch footprint?


Thomas Harning Jr.