1. 7
  1.  

  2. 4

    I’ve found that with a little forethought and abstraction, it’s easy enough to create a luajit interface to C code, but leave open the possibility of pure Lua later. The FFI is so much easier to work with, and less error prone, and faster… There’s also ffi for plain lua which isn’t 100%, but probably close enough to iron out the differences.