lua-users home
lua-l archive

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


On Friday, November 13, 2015 11:19:35 AM Viacheslav Usov wrote:
> This may have  been discussed earlier; if so, kindly point me to the
> previous discussions.

Resource Acquisition Is Initialization
http://lua-users.org/wiki/ResourceAcquisitionIsInitialization

Pure Lua RAII. This was my conclusion after experimenting with various patch-
based solutions below.
http://www.whoopdedo.org/doku/lua/finalizers

[Patch] Finalization of function objects
http://lua-users.org/lists/lua-l/2008-01/msg00138.html
and
http://lua-users.org/lists/lua-l/2009-07/msg00486.html
http://lua-users.org/lists/lua-l/2009-08/msg00000.html

-- 
tom <telliamed@whoopdedo.org>