[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Resumable VM in 5.2?
- From: "Thomas Harning Jr." <harningt@...>
- Date: Wed, 26 Aug 2009 09:30:18 -0400
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?
1: http://lua-users.org/wiki/ResumableVmPatch
--
Thomas Harning Jr.