LuaJIT is not portable C code - the interpreter is handwritten x86/ARM/other assembly, and the JIT emits x86/ARM/other assembly as well. So an interpreter would need to be written that can run on the web, in C or asm.js, as well as a JIT backend.
On Sun, Nov 15, 2015 at 2:23 PM, Elliott Slaughter < [email protected]> wrote: > Hi, > > Has anyone here tried LuaJIT on Emscripten? Any idea how difficult it > would be? > > I've got a little language I was hoping to build an online demo for, and > it needs LuaJIT to run. (And yes, it has to be LuaJIT, not Lua.) I could > always set up a sandbox on a server somewhere, but it would be so much > cooler if it ran on Emscripten... > > Thanks in advance. > > -- > Elliott Slaughter > > "Don't worry about what anybody else is going to do. The best way to > predict the future is to invent it." - Alan Kay > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
