Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: Believably slow..

by waswas-fng (Curate)
on Jun 22, 2003 at 21:54 UTC ( [id://267994]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Believably slow..
in thread Unbelievably slow..

I guess you can look at it this way, your task is simular to making a round object that will roll down a hill, C lets you make just a simple wheel with no other baggage, Perl lets you make a wheel but gives you all the baggage that comes along with making the rest of a car. There is overhead to all of the memory managment, hash tables, etc that comes with even a one liner perl script -- stright C code can avoid most of this if it is not needed. On the other hand your C app as it grows into the "car" where it becomes more complecated will start to perform much more like the perl script overall.

-Waswas

Replies are listed 'Best First'.
Re: Re: Re: Re: Believably slow..
by diotalevi (Canon) on Jun 22, 2003 at 23:07 UTC

    Of course. Perl is a C application and is only slower and bigger because it must be so flexible. As a C application becomes more flexible there's a point at which it starts working its way into perl's territory.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://267994]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-20 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found