lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> It also appears that the speed of loading precompiled code is a factor
> in games;

Agreed. It would be worth to check what's the parsing cost time in some real project scenarios with lots of scripts.

> bytecode itself is not good obfuscation for a determined
> person with a dissembler.  If compile speed is not a factor, then some
> traditional code obfuscation would probably be as good as bytecode.

There's no perfect protection. It is always about the ratio between time/costs of breaking the protection and the potential gain of doing so. In case of bytecode compilation these costs are higher, as breaking it requires much more skilled and determined person to disassemble than when breaking source code obfuscation, which can be "de-obfuscated" and reformatted pretty easily. Finally binary bytecode files discourage most of potential "hackers" from plumbing your code.

Cheers,
-- 
Adam Strzelecki