PyPy — How can it possibly beat CPython?

前端 未结 4 1465
你的背包
你的背包 2020-12-04 04:53

From the Google Open Source Blog:

PyPy is a reimplementation of Python in Python, using advanced techniques to try to attain better performance

4条回答
  •  半阙折子戏
    2020-12-04 05:01

    PyPy is implemented in Python, but it implements a JIT compiler to generate native code on the fly.

    The reason to implement PyPy on top of Python is probably that it is simply a very productive language, especially since the JIT compiler makes the host language's performance somewhat irrelevant.

提交回复
热议问题