473,687 Members | 3,538 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 4491
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
9837
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
1449
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
1761
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
3425
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
8590
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9070
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8947
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...
1
8781
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8784
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
4321
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...
1
2964
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
2
2214
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1948
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.