Page 3 of 3

Re: Lua obfuscation

Posted: Wed Oct 13, 2010 10:05 pm
by vrld
pygy wrote:Or am I missing something?
Yes: since it depends on the processors register size, bytecode compiled on 32-bit architectures won't run on 64-bit computers and vice versa. I am not sure if this is also true if you use a 32-bit OS on a 64-bit computer, but the problem remains.
Additionally, in Linux, the system's Lua is linked against love, and that is not necessarily the same on all computers.
But I guess if you are selling your game, you maybe would be able (and obliged) to ship 32- and 64-bit versions as well as a love-binary that is linked against a known version of Lua.

Re: Lua obfuscation

Posted: Tue Oct 19, 2010 3:56 pm
by arquivista
pygy wrote:The main reason to obfuscate code would be for a commercial game,
I don't really want to mess, discuse and don't care about boring arguments of that LOVE/Lua could be ofuscated, compiled, close-sourced. However just want to say/notice that ofuscate or close the code is usually mistaken as a sign of a commercial/profit game. A lot of close-coded games are and will be during all their life free.