[luatex] Bytecode architecture-independence

Manuel Pégourié-Gonnard mpg at elzevir.fr
Sat Nov 21 01:58:56 CET 2009

Taco Hoekwater a écrit :
> Manuel Pégourié-Gonnard wrote:
>> Can we expect bytecode compatibility at some point? (No problem if the
>> answer is "no" or "not before long"; just asking.)
> Not for long periods of time. As long as we stick with the same
> lua version and the same lua vm, the bytecodes are unlikely to
> change, but we may switch to a newer lua (5.2?) or a new vm
> (luajit2?) and while this would likely not break any .lua scripts,
> it would definitely break bytecode compiled files.

> But my original point was more about the modules inside luatex:
> if you have a bytecode file for luatex 0.43 that uses (say)
> node.dimensions(), then that file won't run with luatex 0.40
> (which does not have that function at all).

> Replacing the a with a c is a more or less standard convention that
> also kpsewhich understands. Allowed extensions for kpathsea are:
>     .luc .luctex .texluc .lua .luatex .texlua
> the first 3 are bytecode, the last 3 source.
Thanks for the info. (For some reason I used to use .tlu, but I may
switch to one of those extensions.)


More information about the luatex mailing list