Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Obfuscating Ruby  (Read 31516 times)

0 Members and 1 Guest are viewing this topic.

esrix

  • Newbie
  • *
  • Posts: 5
    • View Profile
Obfuscating Ruby
« 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?

elema

  • Hero Member
  • *****
  • Posts: 541
    • View Profile
    • Email
Obfuscating Ruby
« Reply #1 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.
Lire des fichiers sous Linux, c'est une question de vi ou de more.

Découvrez la programmation fonctionnelle ! Haskell is the way.

workmad3

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Obfuscating Ruby
« Reply #2 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 :)