[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Compile to exe to hide source code

Stefan Lang

3/30/2006

Hi,

I want to hide my source code under Windows, so I tought that compiling
to an executable file would solve the problem. But I didn't found a way
to do it with Ruby. I have tried 2 solutions:
Exerb -- If you read the 'exe' file, you can see the source code directly.
Ruby2exe -- The complete source is copied temporarily under the %TEMP%
directory.

Does somebody have a way to deploy a file while hiding the source code?
I know that there is a decompiler for a lot of compilers, but I want to
be able to make it harder for people to see the source code (not as easy
as looking to a temporary directory or reading directly an 'exe' file).

Thanks



--
Posted with http://De.... Sign up and save your time!


3 Answers

Tim Hunter

3/30/2006 12:05:00 AM

0

Eric Boucher wrote:
> Hi,
>
> I want to hide my source code under Windows, so I tought that compiling
> to an executable file would solve the problem. But I didn't found a way
> to do it with Ruby. I have tried 2 solutions:
> Exerb -- If you read the 'exe' file, you can see the source code directly.
> Ruby2exe -- The complete source is copied temporarily under the %TEMP%
> directory.
>
> Does somebody have a way to deploy a file while hiding the source code?
> I know that there is a decompiler for a lot of compilers, but I want to
> be able to make it harder for people to see the source code (not as easy
> as looking to a temporary directory or reading directly an 'exe' file).
>
> Thanks
>
>
>

This is a frequently asked question. There is currently no way to do
this with Ruby.

Zach Dennis

3/30/2006 12:10:00 AM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Boucher wrote:
> Hi,
>
> I want to hide my source code under Windows, so I tought that compiling
> to an executable file would solve the problem. But I didn't found a way
> to do it with Ruby. I have tried 2 solutions:
> Exerb -- If you read the 'exe' file, you can see the source code directly.
> Ruby2exe -- The complete source is copied temporarily under the %TEMP%
> directory.
>
> Does somebody have a way to deploy a file while hiding the source code?
> I know that there is a decompiler for a lot of compilers, but I want to
> be able to make it harder for people to see the source code (not as easy
> as looking to a temporary directory or reading directly an 'exe' file).
>

This has been talked abot *alot* on this list. You can search archives for indepth discussions.

Zach
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail....

iD8DBQFEKyKKMyx0fW1d8G0RAtA1AJwOv9p046Gaq/miU7/rgiN8tXD5YgCbB3Ne
QPMp9JlybQ5sfMmOKbPSKQE=
=OnSU
-----END PGP SIGNATURE-----


List Recv

3/30/2006 5:15:00 AM

0

Will the efforts at making a Ruby VM help here? I understand that Ruby
2.0 will use bytecode.

What about the current alternate implementations of Ruby (such as the
Java based ones, and the VM based ones) - could they help?