[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Upcoming changes in Lua 5.4
- From: Daurnimator <quae@...>
- Date: Mon, 1 Jan 2018 23:53:42 +1100
On 1 January 2018 at 23:49, Dibyendu Majumdar <mobile@majumdar.org.uk> wrote:
> I noticed that the Lua arithmetic operators in 5.4 will not coerce
> strings to numbers ... is my understanding correct? I think this is
> good for performance as it avoids a function call for converting
> values but presumably this is a breaking change for existing code that
> may be relying on this feature?
See previous discussions around LUA_NOCVTS2N
e.g. http://lua-users.org/lists/lua-l/2015-01/msg00623.html
> Also noticed that var args will now be put into a table - wanted to
> check if this is just an implementation detail - i.e. no user visible
> impact on either Lua or the C API?
_ARG is user-visible.