I am trying to use PostgreSQL for a financial system and I need the best performance I can use, so I decided to use stored procedures for managing all the math and logic of the system. I have read that luajit have performance similar to C but without the "dangers" of using C.
Fortunately PostgreSQL has lua as one of its procedural languages but I don't know if this pl/lua is luajit or only lua (and therefore the performance associated to them).
So if PostgreSQL uses lua performance I would use pl/v8 instead but if pl/lua uses luajit I will stay with pl/lua.