Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Support Emscripten #69

Open
TurkeyMan opened this issue Jul 5, 2015 · 1 comment
Open

Support Emscripten #69

TurkeyMan opened this issue Jul 5, 2015 · 1 comment

Comments

@TurkeyMan
Copy link

Emscripten is an important target where LuaJIT is not supported.

@Uzume
Copy link

Uzume commented Dec 18, 2020

Emscripten is an LLVM-based C/C++ to WebAssembly compiler. Since luaffi is based on DynASM from LuaJIT which does not use LLVM, it seems highly unlikely to ever support such a thing.

It seem more plausible to add WebAssembly architecture support directly to DynASM and LuaJIT, although I doubt it will happen anytime soon unless someone else provides a patch/pull request.

Even if someone was considering making such a port, one would want to consider how valuable it would be considering WebAssembly is also a virtual machine which may have its own JIT implementation. It might be better to make an FFI without a JIT like DynASM for such a case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants