What this is
I made this module as everyone was bitching about how slow it is and how much better GMod would be with it. So here it is, LuaJIT within Garry's Mod.
What can I do?
For example you can run a loop that needs to be done fast within LuaJIT and return the result back to the GLua code, you can also call GLua functions from inside of the LuaJIT code which is however still pretty much experimental.
local ply = LocalPlayer()
-- All parameter are stored within _A
-- Calls the SetPos function
-- Calls testfunc within GLua
print("Print from LuaJIT")
_R.Player.SetPos, ply, Vector(0, 0, 0)
Enough Chit-Chat, where is it
I would like to call this module more or less alpha state as there's much planned and more to do.
Windows Binary: https://mattmodules.googlecode.com/s.../gm_luajit.dll
Maybe someone can also compile this for Linux? I dislike Linux