My approach is similar to #4 except I have an intermediary step where I copy all the source code into a staging directory, then run it through luajit's bytecode compiler. Roughly: rm -rf $STAGE && mkdir $STAGE # copy things to the staging directory find . -name "*.lua" -not -path &...