473,748 Members | 2,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is PHP still slower than Perl?

@
A benchmark in 2002 showed PHP is much slower in shell or when Apache has
Mod_Perl.

With the new PHP kissing Java's ass, Perl is once again the #1 CGI choice.

Java is for a big team in short time to develope something slow.

ASP is a joke.

PHP is a kid.

Perl is around.

C. I don't know why it is not popular. It should be. Maybe those Web
inventors always thought in Linux so they never wanted to push something
binary so they selected Perl, a slower scripting.
Jul 17 '05 #1
58 4508
In comp.lang.php @ <as**@asdfsadf. com> wrote:
A benchmark in 2002 showed PHP is much slower in shell or when Apache has
Mod_Perl.

With the new PHP kissing Java's ass, Perl is once again the #1 CGI choice.


If you want to troll, please put a little more effort in it.

Like make up some benchmarks to support your facts.

--

Daniel Tryba

Jul 17 '05 #2
@ wrote:
C. I don't know why it is not popular.


I'd say it is because C does not have strings as a native data type.
Other than initializing an array of char, the C compiler has no
string manipulation built in; it requires library functions to do that.
-Joe
Jul 17 '05 #3
@ wrote:
With the new PHP kissing Java's ass, Perl is once again the #1 CGI
choice.


You mean this regarding PHP 5's OO model? You have never looked at Perl 6's
OO model, haven't you?
JW

Jul 17 '05 #4
"@" <as**@asdfsadf. com> wrote in news:hO******** ************@ro gers.com:
A benchmark in 2002 showed PHP is much slower in shell or when Apache
has Mod_Perl.

With the new PHP kissing Java's ass, Perl is once again the #1 CGI
choice.


For me Perl is #1 (if possible) because PHP is probably the worst designed
language ever. I am not sure if you can already prepare statements (MySQL),
something I used in Perl ages ago, or still have to use all those
whatsamacalled_ quote_shebang garbage.
--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
Jul 17 '05 #5

"John Bokma" <po********@cas tleamber.com> wrote in message
news:Xn******** *************** **@130.133.1.4. ..
"@" <as**@asdfsadf. com> wrote in news:hO******** ************@ro gers.com:
A benchmark in 2002 showed PHP is much slower in shell or when Apache
has Mod_Perl.

With the new PHP kissing Java's ass, Perl is once again the #1 CGI
choice.
For me Perl is #1 (if possible) because PHP is probably the worst designed
language ever. I am not sure if you can already prepare statements
(MySQL),


Yes you CAN use prepare statemetnts with MySQL. You should be aware that
this is a MySQL feature, not a PHP feature.
something I used in Perl ages ago, or still have to use all those
whatsamacalled_ quote_shebang garbage.


If you don't like PHP then why are you posting to the PHP newsgroup?

--
Tony Marston

http://www.tonymarston.net

Jul 17 '05 #6
@
> > A benchmark in 2002 showed PHP is much slower in shell or when Apache
has
Mod_Perl.

With the new PHP kissing Java's ass, Perl is once again the #1 CGI
choice.
If you want to troll, please put a little more effort in it.

Like make up some benchmarks to support your facts.

--

Daniel Tryba


google with PHP PERL BENCHMARK, you will see the results. That is the one
back from 2002.

http://216.239.39.104/search?q=cache...ark+2002&hl=en
Jul 17 '05 #7
Janwillem Borleffs wrote:
@ wrote:
With the new PHP kissing Java's ass, Perl is once again the #1 CGI
choice.


You mean this regarding PHP 5's OO model? You have never looked at Perl
6's OO model, haven't you?


First off, as Perl 6 doesn't really exist yet, the original flame^Wpost
must be comparing against Perl 5.

Second, Perl 6's OO model could yet do a few 180's.

Third, who said anyone would use Perl 6 for CGI?

Fourth, who said Perl 6's performance would suck?

Fifth, I'm not saying PHP 5's performance sucks - I'm just inferring it
from @'s flame^Wpost.
Jul 17 '05 #8
Also sprach Joe Smith:
@ wrote:
C. I don't know why it is not popular.


I'd say it is because C does not have strings as a native data type.
Other than initializing an array of char, the C compiler has no
string manipulation built in; it requires library functions to do that.


That's a distinction in C that's moot. It has no built-in IO mechanisms
either. You have to include a header to get this functionality. But
nonestheless, it's still part of the language.

Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_ $;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus}) (rekcah{lrePbus })(lreP{rehtona bus})!JAPH!qq(r ehtona{tsuJbus# ;
$_=reverse,s+(? <=sub).+q#q!'"q q.\t$&."'!#+sex isexiixesixeseg ;y~\n~~dddd;eva l
Jul 17 '05 #9
In comp.lang.php @ <as**@asdfsadf. com> wrote:

If you want to troll, please put a little more effort in it.

Like make up some benchmarks to support your facts.
google with PHP PERL BENCHMARK, you will see the results.


That is not how it works: you make a claim, so you supply your proof. And
I'm more interested in perl/php vs. java.
That is the one
back from 2002.


2002 is so 2 years ago, that like ancient man.

--

Daniel Tryba

Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

114
9870
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
5
1454
by: Michael | last post by:
i experience slower compile times with VC++ 2003 compared to VC+6.0. Anyone experiencing the same? Should that be expected? This ineed matters, when total compilation time is > 1h and you have to wait 10-50% longer...
2
1764
by: jeffrey.bigham | last post by:
Hello, I'm writing a program that needs to read input line by line and analyze each, and it needs to be as efficient as possible. I wrote the following sample program that works, but is 10 times slower than a Perl equivalent on a large input (~212 Mb). There has to be something wrong - can anyone help me fix it? I've included both at the bottom of my post and I compile with g++ -03 cin_test.C Thanks!
47
3442
by: Henning_Thornblad | last post by:
What can be the cause of the large difference between re.search and grep? This script takes about 5 min to run on my computer: #!/usr/bin/env python import re row="" for a in range(156000): row+="a"
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9250
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8247
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4878
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.