lua-users home
lua-l archive

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


There is an interesting SO question:

OP uses Lua in his game and wants to be able to get (using Lua C API)
current Lua VM snapshot in some serializable form
for saving it inside a savegame file.
When the saved game is loaded, Lua VM resumes from the saved snapshot.
It looks like a useful feature for embeddable language.
It would also allow running a long-lasting script on one computer,
then pausing it and resuming the calculations on another computer.

The idea might be too hard to implement, but it surely worth discussing.