Excerpts from Daniel Kolesa's message of 2014-09-03 14:07:28 +0200: > Have you seen the Python cffi module? It uses libffi and is closely modeled > after the LuaJIT FFI. Yes, it's a good example on how to go by about using libffi in LJ-esque setting. Unfortunately it is mostly written in python, not really usable as a foundation where Lua is used because of constrained resources in the first place... If someone would be willing to do Python->Lua source port, it might be interesting OTOH. As for libffi, almost everything with FFI uses it :)