I was reading up on LuaJIT when I stumbled upon a function I’ve never seen before, string.dump.
Apparently string.dump compiles a function ( the first argument ) and returns the Lua byte-code of that function ( the same thing happens when you run a file, it’s compiled into a function then called ).
I compiled LuaJIT then tested it on my desktop :
Then tested in Garry’s Mod :
Notice how the compiled code printed out into the console consists only of the two letters “LJ” and of course, it doesn’t work.
I tried compiling code through luajit.exe then running it in Garry’s Mod and that too, doesn’t work. Though that gives me “cannot load malformed byecode” errors instead.
I know that Garry has rejected requests to implement byte-code related features.
Can I get some clarification on whether or not this is him blocking the functionality himself or what?