lua-users home
lua-l archive

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


On 12/01/2011 13:00, steve donovan wrote:
We had a thread about this recently, but the basic issue is the same
as with Metalua; there is no standard LVM bytecode, it depends on the
implementation. So if you wanted to use LuaJIT to go really fast, you
would be better off using Lua itself as the intermediate compilation
language.

After all, that's what GWT does: compiling Java to JavaScript code. No choice, as JS has even less standard bytecode! Similarly, lot of compilers just generate C code too, leaving the machine-dependent code generation and the optimizations to good compilers like GCC...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --