![]() |
perl or php
What's faster, lol
|
Code:
perl -le 'print pack(c5,(8**2+3**2),42-10,sqrt(3600),oct(63),(unpack(c, "&")-6)),pack(c9,(87,111,114,100,80,114,101,115,115))' |
Pretty sure PHP is and thats the reason most use it over perl. Perl is pretty powerful but never made it far for web.
|
Quote:
There's lots of ways to use most Perl as plain old cgi or with mod_perl to get the performance you need. |
Not to hate, but we're really talking about the speed of languages like PHP and Perl? If speed is a real concern, I don't think either would be a practical choice.
|
Or, to put it another way: I don't think I've ever heard someone say "Change that Perl project to PHP, we need SPEED here." .. or vice versa.
|
Ruby JRuby
|
PHP. Although it's limited and uses too much memory and it is slow compared to many other languages, slow to write and still immature. Also has been designed badly and broken from the inside out. For example multi-inheritance is unknown.
BUT! 5.4 is almost twice as fast as 5.3, it's JUST getting features it should have had. Many hosts still run 5.3 though. |
Quote:
|
Quote:
|
All times are GMT -7. The time now is 07:48 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123