[ANN] Lua 5.3.4 (rc1) now available

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Lua 5.3.4 (rc1) now available

Luiz Henrique de Figueiredo
Lua 5.3.4 (rc1) is now available for testing at
        http://www.lua.org/work/

Like all minor releases, this is a bug-fix release.
Lua 5.3.4 fixes all bugs listed in
        http://www.lua.org/bugs.html#5.3.3

Lua 5.3.4 also contains several internal improvements and
includes a revised reference manual:
        http://www.lua.org/work/doc/

The tarball is at
        http://www.lua.org/work/lua-5.3.4-rc1.tar.gz

The checksums are
        MD5 354422fd32529b263df114033fbc4073  -
        SHA1 f0dfc21bb502af55533abfc21995f8b68ce740f3  -

The complete diffs from Lua 5.3.3 to Lua 5.3.4-rc1 are available at
        http://www.lua.org/work/diffs-lua-5.3.3-lua-5.3.4-rc1.txt
        http://www.lua.org/work/diffs-lua-5.3.3-lua-5.3.4-rc1.html

The diffs are also available in unified format:
        http://www.lua.org/work/diffu-lua-5.3.3-lua-5.3.4-rc1.txt
        http://www.lua.org/work/diffu-lua-5.3.3-lua-5.3.4-rc1.html

A test suite for Lua 5.3.4 is available at
        http://www.lua.org/work/lua-5.3.4-tests.tar.gz

We thank everyone for their feedback on Lua 5.3 till now.

All feedback welcome. Thanks.
--lhf


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Dirk Laurie-2
2017-01-02 17:05 GMT+02:00 Luiz Henrique de Figueiredo <[hidden email]>:
> Lua 5.3.4 (rc1) is now available for testing at
>         http://www.lua.org/work/
...
> Lua 5.3.4 also contains several internal improvements and
> includes a revised reference manual:
>         http://www.lua.org/work/doc/

The most visible difference is the documentation of
the length operator, which is now based on the notion
of a border. This should go a long way towards getting
rid of the perpetual posts about the non-intuitive default
behaviour of the length operator. +1.

Dirk

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

云风 Cloud Wu
In reply to this post by Luiz Henrique de Figueiredo
The complete diffs from Lua 5.3.3 to Lua 5.3.4-rc1 are available at
        http://www.lua.org/work/diffs-lua-5.3.3-lua-5.3.4-rc1.txt
        http://www.lua.org/work/diffs-lua-5.3.3-lua-5.3.4-rc1.html


 +/* true when 't' is using 'dummynode' as its hash part */
 +#define isdummy(t) ((t)->lastfree == NULL)
 +

The macro isdummy doesn't depend on the dummynode . +1 :)
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Lorenzo Donati-3
In reply to this post by Dirk Laurie-2
On 02/01/2017 18:39, Dirk Laurie wrote:

> 2017-01-02 17:05 GMT+02:00 Luiz Henrique de Figueiredo <[hidden email]>:
>> Lua 5.3.4 (rc1) is now available for testing at
>>         http://www.lua.org/work/
> ...
>> Lua 5.3.4 also contains several internal improvements and
>> includes a revised reference manual:
>>         http://www.lua.org/work/doc/
>
> The most visible difference is the documentation of
> the length operator, which is now based on the notion
> of a border. This should go a long way towards getting
> rid of the perpetual posts about the non-intuitive default
> behaviour of the length operator. +1.
>
You're too optimistic, IMHO ;-)

I bet we'll shortly find someone arguing on how intuitive/useful the
notion of "border" is!

You'd better take that old paint can out of your garage, you never know
when you need to paint the bike shed anew!

:-D

> Dirk
>
>


Cheers!

-- Lorenzo



Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Luiz Henrique de Figueiredo
In reply to this post by Luiz Henrique de Figueiredo
> Lua 5.3.4 (rc1) is now available for testing at
> http://www.lua.org/work/

Please take a look before we freeze it, which will happen in a week or so
if no glitches are reported. All feedback is welcome. Thanks.
--lhf

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Philipp Janda
In reply to this post by Luiz Henrique de Figueiredo
Am 02.01.2017 um 16:05 schröbte Luiz Henrique de Figueiredo:
> Lua 5.3.4 (rc1) is now available for testing at
> http://www.lua.org/work/
>
> All feedback welcome. Thanks.

The following probably shouldn't have ended up in the HTML ref manual:

> @@ -4278,7 +4340,7 @@
>
>  <p>
>  When <code>n</code> is zero,
> -this function creates a <em>light C function</em>,
> +this function creates a <em>light N{C function}</em>,
>  which is just a pointer to the C&nbsp;function.
>  In that case, it never raises a memory error.


> --lhf

Happy New Year,

Philipp



Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Marc Balmer
In reply to this post by Luiz Henrique de Figueiredo
Am 07.01.17 um 11:30 schrieb Luiz Henrique de Figueiredo:

>> Lua 5.3.4 (rc1) is now available for testing at
>> http://www.lua.org/work/
> Please take a look before we freeze it, which will happen in a week or so
> if no glitches are reported. All feedback is welcome. Thanks.
>
I did put it in our development and testing branch, so it runs on
several POS installations.  No issues so far (unlike the 5.2 -> 5.3
transition ;)

- mb


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Luiz Henrique de Figueiredo
In reply to this post by Philipp Janda
> The following probably shouldn't have ended up in the HTML ref manual:
>
> >+this function creates a <em>light N{C function}</em>,

Great catch! Thanks!

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Hisham
In reply to this post by Lorenzo Donati-3
On 5 January 2017 at 20:50, Lorenzo Donati <[hidden email]> wrote:

> On 02/01/2017 18:39, Dirk Laurie wrote:
>>
>> 2017-01-02 17:05 GMT+02:00 Luiz Henrique de Figueiredo
>> <[hidden email]>:
>>>
>>> Lua 5.3.4 (rc1) is now available for testing at
>>>         http://www.lua.org/work/
>>
>> ...
>>>
>>> Lua 5.3.4 also contains several internal improvements and
>>> includes a revised reference manual:
>>>         http://www.lua.org/work/doc/
>>
>>
>> The most visible difference is the documentation of
>> the length operator, which is now based on the notion
>> of a border. This should go a long way towards getting
>> rid of the perpetual posts about the non-intuitive default
>> behaviour of the length operator. +1.

I liked very much the improved description. I'd even change the second
example to something like {nil, 20, 30, nil, nil, 60, nil} with
borders (0, 3 and 6), so that, even though there are four nils spelled
out, it would still have three borders (just to avoid a possibly
incorrect lazy reading that "each nil makes a border").

> I bet we'll shortly find someone arguing on how intuitive/useful the notion
> of "border" is!

A thought: one thing that could help squash the discussions about the
length operator would be if the Lua reference manual (being the
working definition of the language) spelled out some big-O guarantees
to table operations (like the definition of the C++ STL does with
regard to its data structures).

This approach, while not tying the specification of the language to
its implementation, would make it more explicit that:

(a) the other behaviors for length that are typically proposed would
incur some kind of trade-off (usually degrading either length or
insert/delete to become linear in the worst case), and
(b) the current unintuitive behavior for #t does bring pratical
algorithmic benefits.

-- Hisham

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Russell Haley
Is the makefile in the lua Github mirror different from the Makefiles
in the tarball on purpose or did I miss something?

Thanks,
Russ

On Sat, Jan 7, 2017 at 12:27 PM, Hisham <[hidden email]> wrote:

> On 5 January 2017 at 20:50, Lorenzo Donati <[hidden email]> wrote:
>> On 02/01/2017 18:39, Dirk Laurie wrote:
>>>
>>> 2017-01-02 17:05 GMT+02:00 Luiz Henrique de Figueiredo
>>> <[hidden email]>:
>>>>
>>>> Lua 5.3.4 (rc1) is now available for testing at
>>>>         http://www.lua.org/work/
>>>
>>> ...
>>>>
>>>> Lua 5.3.4 also contains several internal improvements and
>>>> includes a revised reference manual:
>>>>         http://www.lua.org/work/doc/
>>>
>>>
>>> The most visible difference is the documentation of
>>> the length operator, which is now based on the notion
>>> of a border. This should go a long way towards getting
>>> rid of the perpetual posts about the non-intuitive default
>>> behaviour of the length operator. +1.
>
> I liked very much the improved description. I'd even change the second
> example to something like {nil, 20, 30, nil, nil, 60, nil} with
> borders (0, 3 and 6), so that, even though there are four nils spelled
> out, it would still have three borders (just to avoid a possibly
> incorrect lazy reading that "each nil makes a border").
>
>> I bet we'll shortly find someone arguing on how intuitive/useful the notion
>> of "border" is!
>
> A thought: one thing that could help squash the discussions about the
> length operator would be if the Lua reference manual (being the
> working definition of the language) spelled out some big-O guarantees
> to table operations (like the definition of the C++ STL does with
> regard to its data structures).
>
> This approach, while not tying the specification of the language to
> its implementation, would make it more explicit that:
>
> (a) the other behaviors for length that are typically proposed would
> incur some kind of trade-off (usually degrading either length or
> insert/delete to become linear in the worst case), and
> (b) the current unintuitive behavior for #t does bring pratical
> algorithmic benefits.
>
> -- Hisham
>

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Daurnimator
In reply to this post by Luiz Henrique de Figueiredo
On 7 January 2017 at 21:30, Luiz Henrique de Figueiredo
<[hidden email]> wrote:
>> Lua 5.3.4 (rc1) is now available for testing at
>>       http://www.lua.org/work/
>
> Please take a look before we freeze it, which will happen in a week or so
> if no glitches are reported. All feedback is welcome. Thanks.
> --lhf

Cranking up the warnings to *very* high there's a suggestion that
wouldn't be bad to implement:
luac could use `l_noret` on functions `fatal`, `cannot` and `usage`.

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.4 (rc1) now available

Luiz Henrique de Figueiredo
In reply to this post by Russell Haley
> Is the makefile in the lua Github mirror different from the Makefiles
> in the tarball on purpose or did I miss something?

Unfortunately, the two Makefiles in lua tarballs are not (yet?) in github.