SFML community forums
Bindings - other languages => General => Topic started 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?
-
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.
-
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 :)