http://www.faqs.org/faqs/www/cgi-faq/

 


"another programmer" <[EMAIL PROTECTED]> wrote:
Watch the "I thinks" & "I'd bet" because it's just that, not "I have
observed" or "I know"

I think Perl, in the past, would've been frowned upon because the execution
of the perl engine would've been required for every request, but now it's a
part of Apache... if it's compiled as so... which'd lessen the overhead.
(correct me if I'm wrong, I read this awhile ago and my memory isn't so good
anymore ;-)

I'd bet CF would use more resources, generally CF does use more constant
memory resources, because it holds DB connections for applications and
usually session/server/application variables.  Perl is unlikely to do so, as
most web application servers frown on holding on to DB connections, because
it's usually the programmers code not the web application servers code that
'hold' the connections, and are usually implemented... in not the best
fashion.  However, while it is using more memory, it also gains speed
because of this.  Easy application & session management means it's more
likely to be used which'd mean faster access to such resources (shared
information), and the DB connections don't have to be opened/closed all the
time, and can be limited to strict number.

Speed wise, I'd think CF would be quicker if Perl doesn't keep a cache of
requested files...

As for on-request memory, I'd think each request would demand more memory
for Perl... reasoning: the libraries used and the methods Perl programmers
would probably use.  <cf_outburst>ie. I'm a guessing idjit, everything I say
is wrong, don't trust a word I say blah! and people (I mean me, not anyone
else) who don't use 2 programming languages at a similar level/usage should
keep their opinions to themselves on comparisons</cf_outburst>

These are just my thoughts, I haven't used Perl in a web environment for
just over a year, and I certainly didn't use it very much.  Most of the
companys code was being translated into CF at the time...

I'd like to hear of anyone on this list who actually uses perl (I do, but
rarely) to voice their knowledge... btw is the compiler 'perl' & the
language 'Perl'?
man, i've been hanging out for Perl CD bookshelf second edition for
awhile... my copy is meant to arrive in June according to the bookstore...
hope they're right... I _do_ love Perl, but rarely have the time to use it
at the moment :-(

----- Original Message -----
From: "Bud" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 5:10 AM
Subject: CF vs Perl


> Hi all. I'm curious what the difference is, resource-wise, between CF
> and Perl for doing stuff like writing to a database, sending out
> simple forms, etc. Does CF use much more of the server's resources?
> Or is it comparable?
>
> Thanks,
> --
>
> Bud Schneehagen - Tropical Web Creations
>
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> ColdFusion Solutions / eCommerce Development
> [EMAIL PROTECTED]
> http://www.twcreations.com/
> 954.721.3452
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to