lua-users home
lua-l archive

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


I'm mostly concerned about the issues of doing development in a 32-bit world
and then wanting to transition to a 64-bit world. Doing the work in the
dumper means that bytecodes all need to be recompiled.

Mark

on 5/21/03 11:36 AM, Luiz Henrique de Figueiredo at lhf@tecgraf.puc-rio.br
wrote:

>> (b) have luac put information in the headers of the files it generates
>> identifying these compilation options; and
> 
> It already does.
> 
>> (c) have the code that loads the files generated by luac look at the header
>> and either invoke the fast it-matches-my-sizes import or the slow
>> it-was-compiled-for-a-different-platform-size import.
> 
> Right. But like I said earlier, it may be sltightly easier to change
> the dumper to generate cross-platforms files than to change the loader,
> although it will not be as flexible.
> 
> On the other hand, when and if 64-bit platforms become the norm, then we'll
> have to do this anyway...
> --lhf
>