[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Precompiled Code
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 25 Oct 2012 09:29:38 +0200
On Thu, Oct 25, 2012 at 6:42 AM, Thijs Schreijer
<thijs@thijsschreijer.nl> wrote:
> yes. can be done. but PuC Lua has bytecode that is not portable across architectures iirc.
In this case, not particularly a problem. string.dump/lua_dump does
what you want.
However, the compiled chunk will not work with different Lua states,
if it has upvalues. (Lua Lanes goes to a lot of trouble to copy these
upvalues over between states)
steve d.