SFML community forums

Bindings - other languages => General => Topic started by: esrix on December 17, 2007, 05:22:42 pm

Title: Obfuscating Ruby
Post by: esrix on December 17, 2007, 05:22:42 pm
I tried out the Ruby bindings for SFML the other day and they work very well.  The language seems rather easy to use to!

My only concern is that, judging by what I've read, there's no way to hide the Ruby source code.  I'd rather not have someone tooling around the source for the games I make.

So does anyone know if there is a way to obfuscate, encrypt, or hide the source for the Ruby files?
Title: Obfuscating Ruby
Post by: elema on January 04, 2008, 03:18:00 pm
Ain't there a way to compile your source code in Ruby, just like the setuptools/distutils in Python ? I do not use Ruby but I think it's in this way you should carry out your researches.
Title: Obfuscating Ruby
Post by: workmad3 on July 09, 2008, 09:16:13 am
unfortunately no there isn't yet. Too much of the ruby language relies on run-time compilation of source code and people haven't figured out a way to compile it and keep those features yet.

And no, I don't know of any way of encrypting or hiding the source code, but with a little ingenuity or googleing you shouldn't have a problem with obfuscating it :)