D vs. C#

Vladimir Panteleev thecybershadow at gmail.com
Mon Oct 22 11:36:37 PDT 2007


On Mon, 22 Oct 2007 21:27:47 +0300, Walter Bright <newshound1 at digitalmars.com> wrote:

> Michael P wrote:
>> Distribute a single binary could be achived by encrypting the source
>> code and sending it to your client, Then you could have a compiler
>> that knows the key to it (or that the compiler gets the key from a
>> server) so it takes the code and decrypts it and at the same time
>> compiles it.
>
> I once went through the design of encrypting source, and concluded it
> wasn't very practical (look at CSS for DVDs!). Also, it's pretty clear
> that VM bytecode does a lousy job of obfuscating source - good Java byte
> code decompilers exist.
>
> You might as well distribute source - after running it through a comment
> stripper, of course.

Source code obfuscators for most interpreted languages exist, as well as obfuscators for bytecode (VM languages) which make decompilation very hard.

-- 
Best regards,
 Vladimir                          mailto:thecybershadow at gmail.com



More information about the Digitalmars-d mailing list