Re: [PHP] Is Perl faster than PHP?

2004-11-20 Thread Curt Zirzow
* Thus wrote Justin French:
 
 For what it's worth, PHP5 under FastCGI on a nice server with a good 
 sysadmin is *incredibly* fast.  Shameless plug: TextDrive.com (a 
 hosting company in the US that just hired me) offers exactly that -- 
 blindingly fast PHP5 shared hosting with the works.

Another for what its worth..

php 5.1 is much faster than 4 and 5.0.X look forward to it :)


Curt
-- 
Quoth the Raven, Nevermore.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is Perl faster than PHP?

2004-11-19 Thread Justin French
On 17/11/2004, at 2:54 AM, Merlin wrote:
it came to my attention that most of the high traffic portals are 
using perl in the backend. Those sites do also apear to me to be very 
fast in comparison to most php sites. Are there any known performance 
comperissons between the two available? Or can one say that PHP or 
Perl is faster about x percent in general compared to the other one?
Unless you compare the same site written and optimised for the two 
languages, written by a developer who is equally skilled in both 
languages, hosted on servers of equal performance, with equal traffic, 
you can't compare the sites and make a bold assumption like Perl must 
be faster.

When you compare two website's performance, you're not just comparing 
code at all... you're comparing traffic, server load, the programmer's 
skills, the server set-up, bandwidth, connectivity, etc etc.

Would you compare a Ferrari to a Volkswagon?  They're both cars, right? 
 :)

For what it's worth, PHP5 under FastCGI on a nice server with a good 
sysadmin is *incredibly* fast.  Shameless plug: TextDrive.com (a 
hosting company in the US that just hired me) offers exactly that -- 
blindingly fast PHP5 shared hosting with the works.

Justin French
---
http://justinfrench.com/
http://indent.com.au/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Is Perl faster than PHP?

2004-11-18 Thread Chris Shiflett
--- Merlin [EMAIL PROTECTED] wrote:
 it came to my attention that most of the high traffic portals
 are using perl in the backend. Those sites do also apear to me
 to be very fast in comparison to most php sites. Are there any
 known performance comperissons between the two available? Or can
 one say that PHP or Perl is faster about x percent in general 
 compared to the other one?

PHP and Perl are both key tools used to build many of the Web's top sites
- Amazon, Yahoo, Ticketmaster, Google, etc. As a Perl developer worded it
at this past week's ApacheCon, these types of sites receive an obscene
amount of traffic.

How these two languages perform and scale relative to one another is
entirely dependent on the design and implementation - neither is going to
consistently be better than the other, but both are very good.

You will notice that the top sites don't use Java or .NET. :-)

Chris

=
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming February 2005http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is Perl faster than PHP?

2004-11-18 Thread Mulley, Nikhil
It all depends on the factors like Computer Hardware, Optimization of PHP for 
that System/OS , Network Factors and all . 
Though it has been the perl way , as it is almost more than a teenager of age 
now and has more modules written for it than for PHP , PHP is the beggining , 
but I am sure the Programmers around the world ,who code for PHP way , thier 
hardwork will not go waste. and also Shifflet , I know you are the one among , 
PHP is easier to code than Perl .

Yeah , its true that top sites do not use Java or NET , 

-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 8:44 AM
To: Merlin; [EMAIL PROTECTED]
Subject: Re: [PHP] Is Perl faster than PHP?


--- Merlin [EMAIL PROTECTED] wrote:
 it came to my attention that most of the high traffic portals
 are using perl in the backend. Those sites do also apear to me
 to be very fast in comparison to most php sites. Are there any
 known performance comperissons between the two available? Or can
 one say that PHP or Perl is faster about x percent in general 
 compared to the other one?

PHP and Perl are both key tools used to build many of the Web's top sites
- Amazon, Yahoo, Ticketmaster, Google, etc. As a Perl developer worded it
at this past week's ApacheCon, these types of sites receive an obscene
amount of traffic.

How these two languages perform and scale relative to one another is
entirely dependent on the design and implementation - neither is going to
consistently be better than the other, but both are very good.

You will notice that the top sites don't use Java or .NET. :-)

Chris

=
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming February 2005http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is Perl faster than PHP?

2004-11-16 Thread Robby Russell
On Tue, 2004-11-16 at 16:54 +0100, Merlin wrote:
 Hi there,
 
 it came to my attention that most of the high traffic portals are using perl 
 in 
 the backend. Those sites do also apear to me to be very fast in comparison to 
 most php sites. Are there any known performance comperissons between the two 
 available? Or can one say that PHP or Perl is faster about x percent in 
 general 
 compared to the other one?
 
 thanx for any hint,
 
 Merlin
 

It really depends on how you're running them.. is PHP or Perl running in
mod_* or is it running as a CGI?

Which is quicker to program in?

Yahoo uses php for some of their stuff, I would say that is a pretty
high traffic site. 


-Robby

-- 
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | [EMAIL PROTECTED]
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting  Development
*--- Now supporting PHP5 ---
/


signature.asc
Description: This is a digitally signed message part


Re: [PHP] Is Perl faster than PHP?

2004-11-16 Thread raditha dissanayake
Merlin wrote:
Hi there,
it came to my attention that most of the high traffic portals are 
using perl in the backend. Those sites do also apear to me to be very 
fast in comparison to most php sites. Are there any known performance 
comperissons between the two available? Or can one say that PHP or 
Perl is faster about x percent in general compared to the other one?
PHP is faster when running uphill and perl is faster when running 
download. On Sri Lankan roads they are both equally slow.

--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/  | Drag and Drop Upload
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Is Perl faster than PHP?

2004-11-16 Thread Brent Baisley
Since both Perl and PHP are scripting languages, I don't think you 
could definitively say one is faster than the other. First and foremost 
it's the talent of the coder that makes a program fast or slow. Perl 
has been around a lot longer and so the libraries (i.e. CPAN) are more 
refined and optimized. For instance, I would say Perl DBI is faster at 
accessing databases than PHP's PEAR.  You don't have to use PEAR if you 
find the overhead too much. And you don't have to use DBI, but DBI is 
so mature I don't know why you wouldn't want to. You could also get 
compilers for both languages to speed up your site.

I've seen some really slow Perl sites and some really slow PHP sites. 
The learning curve for PHP is far easier than that for Perl, so you 
probably have many more people using PHP for their sites that aren't 
really that good at scripting. And how many of those slow PHP sites 
were generated from Dreamweaver? If you did extensive tests, I would 
say Perl would probably come out ahead. But that doesn't mean you can't 
create a PHP site that is really fast.

Sorry, I know I didn't answer your question.
On Nov 16, 2004, at 10:54 AM, Merlin wrote:
Hi there,
it came to my attention that most of the high traffic portals are 
using perl in the backend. Those sites do also apear to me to be very 
fast in comparison to most php sites. Are there any known performance 
comperissons between the two available? Or can one say that PHP or 
Perl is faster about x percent in general compared to the other one?

thanx for any hint,
Merlin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search  Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Is Perl faster than PHP?

2004-11-16 Thread Brad Pauly
On Tue, 16 Nov 2004 16:54:22 +0100, Merlin [EMAIL PROTECTED] wrote:
 Hi there,
 
 it came to my attention that most of the high traffic portals are using perl 
 in
 the backend. Those sites do also apear to me to be very fast in comparison to
 most php sites. Are there any known performance comperissons between the two
 available? Or can one say that PHP or Perl is faster about x percent in 
 general
 compared to the other one?

I don't know of any comparisons, but even if they exist, unless they
are very detailed about the kind of application that they built and
tested, I would be skeptical about drawing a meaningful conclusion.
The reason being that it is very difficult (impossible?) to say that
one language is faster than another when comparing applications
written in those languages. The speed of a high traffic site is more
dependent on where each application runs into a bottleneck and how
that is or isn't solved. Sometimes the bottleneck has nothing to do
with the application, but the network it is running on or something
else.

There are too many variables that affect the speed of a site to say
one language is faster than the other. Both languages can be used to
write fast, high traffic sites.

Brad

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php