Python与Perl对比PHP? [英] Python vs. Perl vs. PHP?

查看:84
本文介绍了Python与Perl对比PHP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我是PHP的狂热用户,我现在只是在使用Python来哄骗
。我原本想知道哪一个更快。如在,工作

更快。到目前为止,我认为PHP是动态网页内容最快的。

我错了吗?

Hello,

I am an avid user of PHP and I am just fooling around with Python for
now. I originally wanted to know which one is faster. As in, works
faster. So far, I think PHP is the fastest for dynamic web-content.
Am I wrong?

推荐答案

fa **** @ jaredweb.com (Fazer)写道:
fa****@jaredweb.com (Fazer) writes:
你好,

我是PHP的狂热用户,我现在只是在使用Python来搞错。我原本想知道哪一个更快。如在,工作更快。到目前为止,我认为PHP是动态网页内容最快的。
我错了吗?
Hello,

I am an avid user of PHP and I am just fooling around with Python for
now. I originally wanted to know which one is faster. As in, works
faster. So far, I think PHP is the fastest for dynamic web-content.
Am I wrong?




是的,有两个原因,一个亲戚,另一个目标:


- 你会用python编写更简洁的程序,所以更容易

优化

- 当你我真的需要速度,你会用

python编写独立的网络服务器,因此在高流量时更加有效和快速。


我已经改写了我的高从php到python的交通网站,获得10倍的速度。

-

William Dode - http://flibuste.net


Fazer写道:
Fazer wrote:
您好,

我是PHP的狂热用户,我现在只是在使用Python傻瓜。我原本想知道哪一个更快。如在,工作更快。到目前为止,我认为PHP是动态网页内容最快的。
我错了吗?
Hello,

I am an avid user of PHP and I am just fooling around with Python for
now. I originally wanted to know which one is faster. As in, works
faster. So far, I think PHP is the fastest for dynamic web-content.
Am I wrong?




绝对。请参见:

http:// www.bagley.org/~doug/shootout/craps.shtml


Python位于第13位,速度指数为578. PHP排在倒数第二位(之前

bash)并且速度指数为197.


除此之外,PHP是一种非常难看的语言 - 不仅仅是眼睛(这是

诚然是品味的问题),但是我的一个朋友目前实现了一个

PHP-> C-Compiler深入研究了语言实现 - 它是

_is_丑陋。


我在PHP 4.0.x中遇到了市长缺陷,其中我声明的函数在
6000行中不时消失 - 重复请求

有时会解决问题。这真是令人讨厌。


问候,


Diez



Definitely. See here:

http://www.bagley.org/~doug/shootout/craps.shtml

Python is place 13, with a speed index of 578. PHP is second last (before
bash) and has a speed index of 197.

Besides that, PHP is a really ugly language - not only to the eye (which is
admittedly a matter of taste), but a friend of mine currently implements a
PHP->C-Compiler had delved deep into the language implementation - and it
_is_ ugly.

I expirienced mayor flaws in PHP 4.0.x, where my declared functions in a
6000 line include vanished from time to time - repeating the request
sometimes solved the problem. That was really nasty.

Regards,

Diez


" Diez B. Roggisch <德************ @ web.de>写道:
"Diez B. Roggisch" <de************@web.de> writes:
Fazer写道:
Fazer wrote:
你好,

我是PHP的狂热用户,我只是现在正在使用Python愚弄。我原本想知道哪一个更快。如在,工作更快。到目前为止,我认为PHP是动态网页内容最快的。
我错了吗?
Hello,

I am an avid user of PHP and I am just fooling around with Python for
now. I originally wanted to know which one is faster. As in, works
faster. So far, I think PHP is the fastest for dynamic web-content.
Am I wrong?



肯定。请参见:

http:// www.bagley.org/~doug/shootout/craps.shtml




有人试图用python2.3运行这个工作台吗?


-

William Dode - http:// flibuste .net


这篇关于Python与Perl对比PHP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆