lua-users home
lua-l archive

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

David Given wrote:
> If at any point you felt inclined to formalise and document the LJ2
> bytecode, it might be interesting as a target for other languages
> (assuming the bytecode is any easier to use than just emitting Lua, of
> course).

Emitting source is easier. But the semantic mismatches vs. other
languages make this an unattractive option.

LJ2 is an integrated VM and optimized for Lua. It's not a generic
JIT compiler backend. The ideas in there are up for grabs. Adapt
them to other languages and apply them to _their_ VMs.