上一次讨论类似问题,还是在月初。刚好有老外网友做了一个实验,对 62 门编程语言速度做了一个比较,通过莱布尼茨公式计算 π 值,然后给出运行速度的排名,最慢是 Python (CPython)。实验过程和结果都公开透明,参见网址:https://github.com/niklas-heer/speed-comparison。 有时候,我挺理解那些对 Java 有偏见的程序员的。比如,Python ...
Python often gets a bad rap in terms of performance. Critics often move the goal posts mid-discussion, either unintentionally or simply to get a rise out of Python developers. Here's a typical ...