scripting languages vs statically compiled ones

Andrew Durdin adurdin at gmail.com
Tue Nov 2 20:39:44 EST 2004


On Tue, 02 Nov 2004 17:56:03 -0600, Programmer Dude <chris at sonnack.com> wrote:
> 
> Concur.  A while back I thought I could speed up a VB app that had
> a lot of bit-twiddle operations by writting a C-based DLL for it.
> 
> Turns out it ran slower that way!
> 
> Having used the VC++ debugger to step through compiled VB code, I
> can attest to it being compiled down to native.  Ratio is much higher
> than with, say C or C++... I'd WAG it at about 10:1 or slightly more.

On the other hand, I had to do base64 decoding of a string in a VB
app; I got a very significant speed increase by rewriting that portion
with a C DLL. So YMMV I guess :)



More information about the Python-list mailing list