lua-users home
lua-l archive

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


On Fri, Jan 21, 2022 at 5:48 PM Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:

>     Keep in mind that the GC behavior is non-portable
>     both across platforms and across different Lua releases;
>     therefore, optimal settings are also non-portable.

While this is probably fine for the manual, could you comment whether
there is indeed any platform-dependent behavior in the GC code? I am
not an expert in the Lua source code, but if I were asked this
question, I would say "I can't think of any". To clarify, I am talking
strictly about the Lua GC code behavior; I understand that the
bigger-picture memory allocation behavior is very certainly platform
and even host-application specific.

Thanks,
V.