若是PyPy快6.3倍,为何我不该该使用PyPy而不是CPython?

问题:

I've been hearing a lot about the PyPy project. 我一直听到不少关于PyPy项目的消息。 They claim it is 6.3 times faster than the CPython interpreter on their site . 他们声称它比他们网站上的CPython解释器快6.3倍。 html

Whenever we talk about dynamic languages like Python, speed is one of the top issues. 每当咱们谈论像Python这样的动态语言时,速度是最重要的问题之一。 To solve this, they say PyPy is 6.3 times faster. 为了解决这个问题,他们说PyPy的速度要快6.3倍。 less

The second issue is parallelism, the infamous Global Interpreter Lock (GIL). 第二个问题是并行性,臭名昭着的全球口译锁 (GIL)。 For this, PyPy says it can give GIL-less Python . 为此,PyPy表示它能够提供无GIL的Python ide

If PyPy can solve these great challenges, what are its weaknesses that are preventing wider adoption? 若是PyPy能够解决这些巨大的挑战,它的弱点是什么阻碍了更普遍的采用? That is to say, what's preventing someone like me, a typical Python developer, from switching to PyPy right now ? 也就是说,什么阻止像我这样的人,一个典型的Python开发人员, 如今切换到PyPy? 网站


解决方案:

参考一: https://stackoom.com/question/1HUtK/若是PyPy快-倍-为何我不该该使用PyPy而不是CPython
参考二: https://oldbug.net/q/1HUtK/Why-shouldn-t-I-use-PyPy-over-CPython-if-PyPy-is-6-3-times-faster
相关文章
相关标签/搜索