News for hackers. Stuff that matters.
Re:Zedshaw/Tir by jes5199 on Monday May 21, 2012 @02:15PM (#4004072)
How is the state stored for "natural style" functions? Is this continuation style something that Lua supports natively?
Re:Zedshaw/Tir by jmaygarden on Monday May 21, 2012 @02:26PM (#4004131)
Lua has built-in support of this functionality through coroutines [1]. Serializing the coroutines to a database does requires a library [2].

[1] http://lua-users.org/wiki/CoroutinesTutorial

[2] http://lua-users.org/wiki/PlutoLibrary