lua-users home
lua-l archive

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




On Wed, Nov 22, 2023 at 2:37 PM Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> ... btw: Is there some chance that in some future Lua release
> (hopefully next Lua realease?), the Lua byte code file will be aligned
> to "Lua instruction byte size" (or at least to 32bit)? (so that no
> problem to keep Lua byte code in ROM for large program code (for
> lundump.c, function "loadCode"), if this large program code is flashed
> to the ROM code of some embedded ARM 32bit controller (e. g. STM32))?
> (see my last entry to thread "Re: luac to create 32bit Lua byte code"
> from Oct 24).

The next version will have alignment in binary chunks, and also a 'load'
that can reuse ROM memory for byte code, some debug info, and long
strings.

That is EXCELLENT news! Thank you. 

-- Roberto