lua-users home
lua-l archive

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


On Thu, Jun 6, 2019 at 11:34 PM Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>
> Lua 5.4.0 (alpha-rc2) is now available for testing at
>         http://www.lua.org/work/lua-5.4.0-alpha-rc2.tar.gz

Thanks for the rc2.

Looking at the executable sizes, I noticed a size increase compared to
Lua-5.3.5:

dynamically linked with glibc, stripped

  lua-5.3.5  219,912
  lua-5.4.0-alpha-rc2  248,584
    +28,672 bytes (~ +13%)

statically linked with musl libc and linenoise(*), stripped

  lua-5.3.5  219,016
  lua-5.4.0-alpha-rc2  247,688
    +28,672 (~ +13%)

This is  compiled with gcc 5.5 on linux x86_64
(*) linoise is a nice lightweight replacement for readline.

Out of curiosity, what is the main factor in the size increase?  the
new gc?  or is it some debug/test code that will go away?

Phil