"Python/PHP is the same shit"

2011-01-03 07:37:14 +08:00
 CupTools
今天跟别人聊天,我问他,Python是不是应该比PHP快,他说:

"python/php is the same shit. it's still an interpreted language python or php work the same way: scan source, compile in bytecode, run bytecode. java works that way too, but can run some optimizations at compile time since compilation do not have to happen at each run. but python/perl/php are the same shit (ruby too) " MagicalTux (Google) @ 3:33

然后他又说:

"if you can run non-compiled files, it means it's slow. that's all. however this "slow" usually involves a few ms, while your own errors can cost way more. what's really important is not to choose a language because it is "fast" or not, but choose a language because you "master" it"

大家有什么看法
8635 次点击
所在节点    Python
28 条回复
chuck911
2011-05-07 17:15:41 +08:00
shit means thing.
"it's a new shit"
args
2011-05-07 18:18:10 +08:00
除了脏话,说的挺有道理的嘛~
chone
2011-05-07 19:22:53 +08:00
语言争论是没有意义的,完全可以说所有语言都是shit,因为根本不存在一种完全能在任何场合都胜任的语言。语言的好在于它适应了你的需求,脱离了具体的场景去比较是完全没有意义的。
felinx
2011-05-08 09:03:56 +08:00
what's really important is not to choose a language because it is "fast" or not, but choose a language because you "master" it"

看这一句就够了,其它的看了反倒容易造成误解。
summic
2011-05-08 09:36:13 +08:00
*/* is the same shit.
apoclast
2011-05-08 11:00:37 +08:00
我的疑问是python真的没有字节码优化吗?
jjlovegrape
2011-05-08 11:08:43 +08:00
C++和JAVA基本就是手动档和自动挡的区别。各有各的优势。
MCVector
2011-05-27 14:14:45 +08:00
C/C++, Python, PHP都在学习当中,暂不作评论,感觉各有各的用处

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/6669

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX