[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How often does Lua bytecode change?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 18 Nov 2023 14:19:57 -0300
> > See https://www.lua.org/versions.html#numbering.
>
> Do you really see the VM Lua bytecode changes there?
No but it says this:
"Different releases of the same version have [...] the same virtual machine"
"Different versions are really different. [...] The virtual machine
is also very likely to be different in a new version: Lua programs
that have been precompiled for one version will not load in a
different version."
Bottom line: expect bytecode to change when a new version is released
but not when a new release of the same version is released.
The definition of the VM is at https://www.lua.org/source/5.4/lopcodes.h.html.