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 GLuaCall(unpack(_A)) -- Calls testfunc within GLua GLuaCall("testfunc", unpack(_A)) print("Print from LuaJIT") ]], -- Parameters _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.
Maybe someone can also compile this for Linux? I dislike Linux