On Fri, Nov 5, 2010 at 08:49, steve donovan <steve.j.dono...@gmail.com> wrote:
> On Fri, Nov 5, 2010 at 1:18 AM, Alexander Gladysh <aglad...@gmail.com> wrote:
>> Seriously, until LJ2 supports it, Lua 5.2 is not an option for my
>> production code.

> Good point! I was about to suggest 'patch the interpreter' ;)

> (LJ2 is one big reason why Lua 5.2 will be slow to be deployed....)

A worthy reason though.

> This may be naive, but would not calling collectgarbage() a few times
> before os.exit() ensure that things are properly collected, if the
> important resources are first dereferenced?. (I suspect that 'if' is a
> big one and depends on code organization)

It is a big one indeed. It is quite hard to ensure.

Alexander.

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to