Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jes5199
on May 21, 2012
|
parent
|
context
|
favorite
| on:
Zedshaw/Tir
How is the state stored for "natural style" functions? Is this continuation style something that Lua supports natively?
jmaygarden
on May 21, 2012
[–]
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
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: