Re: LuaJIT and WebAssembly

  • From: "Yichun Zhang (agentzh)" <agentzh@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 20 Apr 2017 18:38:44 -0700

Hello!

On Sat, Apr 15, 2017 at 9:45 AM, Las wrote:

Would not work AFAIK.
LuaJIT uses self-modifying code, which I don't think webassembly supports.


Well, even though the JIT compiler won't work in that context, porting
LuaJIT's assembly-based interpreter over to WebAssembly may still give
us a nice speedup as compared to a similar WA port of the standard Lua
interpreters. The JIT compiler part of LuaJIT is optional anyway.

Regards,
Yichun

Other related posts: