[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Compiling Lua bytecode for a different platform
- From: Marc Balmer <marc@...>
- Date: Fri, 26 Feb 2016 18:31:49 +0100
Nice, thank you. I missed the other post, although it is very recent, I should be more careful..
(I am investigating technologies to dynamically deliver Lua bytecode at runtime over the network, either push by server or pull by client, server and client might be different arches, that is why I asked).
> Am 26.02.2016 um 18:16 schrieb Luiz Henrique de Figueiredo <firstname.lastname@example.org>:
>> Would it technically be possible to compile Lua scripts into bytecode for a different platform, e.g. on a x86_64 Linux host for a i386 target?
> Sure. Just change ldump.c to do the right thing, which I expect isn't much.
> See also http://lua-users.org/lists/lua-l/2016-02/msg00176.html .