Re: Need to recompile a Java Applet as an Executable
On 01/29/2010 06:33 AM, Sanny wrote:
There is nothing wrong with the java code. I know some expressions in
C are working 10-20 times faster. Secondly "C" allows the use of
pointers and Assembly language programming.
That's not always a good thing. <Segmentation Fault>
One more reasion to use "C" is to have my code encrypted. Java Code is
available to all so others can easily hack the java code. While
cracking an Activex is I suppose impossible.
*Laughs heartily*
Two words: IDA Pro.
Native code is not immune to being cracked. Indeed, with modern tools
(both Java obfuscators and native disassemblers), it is generally as
easy as Java to crack in many cases. C has the unfortunate problem of
being a wonderful language to target for decompilers.
I have full understanding of these. Only problem is how Browser
accepts the Activex and Applet.
Will a firefox browser run an ActiveX on Non Windows OS?
No. Firefox doesn't support ActiveX period. Well, at one time there was
a framework to embed Gecko in ActiveX, but that stopped working several
years ago IIRC.
Even IE is shying away from ActiveX IIRC.
Its not Slow exactly. But I want it to be more fast. As C/ C++
routines are much faster as I can use Assembly language programming.
It sounds like you're not even trying to optimize in Java, just claiming
that it will be faster since you can use assembly, that unmaintainable
little bugger.
--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth