Why shouldn't I use PyPy over CPython if PyPy is 6.3 times faster?

前端 未结 12 1147
暖寄归人
暖寄归人 2020-12-02 03:12

I\'ve been hearing a lot about the PyPy project. They claim it is 6.3 times faster than the CPython interpreter on their site.

Whenever we talk about dynamic languag

12条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 03:56

    To make this simple: PyPy provides the speed that's lacked by CPython but sacrifices its compatibility. Most people, however, choose Python for its flexibility and its "battery-included" feature (high compatibility), not for its speed (it's still preferred though).

提交回复
热议问题