lua-users home
lua-l archive

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


> > 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.