[jdev] GNUPG as DLL

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Fri Apr 21 10:04:56 CDT 2006


On Friday 21 April 2006 06:44, George Hazan wrote:
> Does anybody know about an attempt to compile the GNUPG sources as the DLL
> for Win32? It takes too much time & resources to call that EXE every time I
> want to decode/encode a message in a Jabber client, so the chat becomes
> very slow...

As far as I know, the GnuPG developers intentially don't provide a DLL form of 
the program.  This is why even GPGME (GnuPG Made Easy, the official library 
for apps to use) calls gpg.exe behind the scenes.

Anyway, the slowness is more likely due to the cryptographic operations and 
other GnuPG housekeeping.  Having GnuPG in "DLL" form would only save you the 
time to load GnuPG into memory, which is probably not where your cpu cycles 
are going.

How fast is your computer?  Encrypting a GnuPG message for Psi is on average 
faster than the rate someone would chat, I think.  Yes, it is slow, but 
acceptable.

-Justin



More information about the JDev mailing list