[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (alpha-rc1) now available
- From: Rodrigo Azevedo <rodrigoams@...>
- Date: Thu, 30 May 2019 09:53:50 -0300
The performance (GC) is excellent again, thank you very much!
Just one question about a local <toclose>
I) it is a <const> : cannot be changed;
II) it is predictable: if out of scope;
III) it is ordered: it is closed in the reversed order of declaration;
Is <toclose> essentially an hypothetical '<gc>' with those three main
characteristics above?
If true, then why not consider to default (mark) *all* 'local' to be
collected as soon as possible (when out of scope), at the given
reversed order, by the garbage collector (call __gc)? It is II) and
III) above compatible, and can be explicit '<const> '-ed with the only
difference (I think) being the wait of start a garbage collector
cycle, which can be easily triggered by 'collectgarbage'.
Thanks!
Em qua, 29 de mai de 2019 às 21:38, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> escreveu:
>
> Lua 5.4.0 (alpha-rc1) is now available for testing at
> http://www.lua.org/work/lua-5.4.0-alpha-rc1.tar.gz
>
> The checksums are
> MD5 56f18a477f5a962eeca4d5bb0ccad34b -
> SHA1 def2b1be4c0a4eaab8afd25c8ba87f6a42074f3b -
>
> This is an alpha version. Some details may change in the final version.
>
> The main changes in Lua 5.4.0 are listed at
> http://www.lua.org/work/doc/#changes
>
> An updated reference manual is included and also available at
> http://www.lua.org/work/doc
>
> The complete diffs from work2 to alpha are available at
> http://www.lua.org/work/diffs-lua-5.4.0-work2-alpha.html
> http://www.lua.org/work/diffu-lua-5.4.0-work2-alpha.html
>
> If your platform is a common Unix-like platform, just do
> make guess
> The Makefile will guess your platform using uname and build Lua for it.
>
> All feedback welcome. Thanks.
> --lhf
>
--
Rodrigo Azevedo Moreira da Silva