[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: lua_State snapshot
- From: "Grellier, Thierry" <t-grellier@...>
- Date: Fri, 3 Aug 2007 11:01:55 +0200
Maybe I shall have searched first before asking!
Thanks for pointing me to them.
Well I'd appreciate any feed back from whose who were using any of them.
[mailto:email@example.com] On Behalf Of varol kaptan
Sent: Friday, August 03, 2007 10:33 AM
To: Lua list
Subject: Re: lua_State snapshot
Have you seen the following?
1. lper ( http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/ )
2. Pluto ( http://lua-users.org/wiki/PlutoLibrary )
I haven't used any of these, but from the description it seems that
they already do what you need.
On 8/3/07, Grellier, Thierry <firstname.lastname@example.org> wrote:
> Some libraries exist that rely upon memory mapped file to dump the
> restore it with the needed pointer swizzling. I wonder if there is
> interest in using this kind of techniques for a lua state, so that
> could have regular snapshots that would allow restarting runs from the
> snapshot, in case of crash, or any other reason. Another possibility
> serialize the state but if the code is self generating, it may be
> well no generic serialization is provided by a standard library or the
> So I wonder,
> 1/ is someone interested in a persistent framework for states?
> 2/ if yes, would you like it as a core extension, or would you prefer
> external generic/specific serialization?
> 3/ how complex would it be to restore hashed structures pointer that
> interpreter does maintain with a virtual memory scheme?