lua-users home
lua-l archive

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


Thomas Harning Jr. wrote:
> Just wondering, would it be possible to inject the upcoming LuaJIT 2
> with a patch like the 'finalizer'[1] one?

Very unlikely. It's about as likely that a patch for the Lua VM
applies cleanly against the Python VM. :-)

> Certain workloads would seem to benefit from having finalizers that
> can execute on scope exit without wrapping pcall/etc.

Maybe it makes you feel better to know that pcall() is designed to
be a zero-cost operation in LJ2.

--Mike