lua-users home
lua-l archive

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


It was thus said that the Great Viacheslav Usov once stated:
> On Wed, Jul 18, 2018 at 9:21 PM Tim Hill <drtimhill@gmail.com> wrote:
> 
> > +1 to this. Handling resource management in C is pretty cumbersome if the
> > function calls any Lua function that might throw an exception (which is
> > most).
> 
> Making life easier for C developers is a noble goal, but it should not be a
> constraint for the primary objective, viz., deterministic finalisation for
> Lua programs.

  Yes, but the resources that require cleanup if leaving scope are typically
written in C ...

  -spc