lua-users home
lua-l archive

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


yes. can be done. but PuC Lua has bytecode that is not portable across architectures iirc.



Henning Diedrich <hd2010@eonblast.com> wrote:

>In Luerl I can precompile code and then re-use it across different Lua States.
>
>Can I do that in Lua PUC / LuaJIT? Precompile and then use on different Lua State instances? How do I get at the binary representation of a chunk?
>
>Luerl is a Lua VM written in Erlang, by Robert Virding: https://github.com/rvirding/luerl
>
>Thanks!
>Henning