这可能是一个非常愚蠢的问题,但是“PyPy”和“PyPI”之间有什么区别?它们是一回事吗?
最佳答案
PyPy是 python 的替代实现:
PyPy is a fast, compliant alternative implementation of the Python language (2.7.13 and 3.5.3). It has several advantages and distinct features: Speed: thanks to its Just-in-Time compiler, Python programs often run faster on PyPy. (What is a JIT compiler?) “If you want your code to run faster, you should probably just use PyPy.” — Guido van Rossum (creator of Python) Memory usage: memory-hungry Python programs (several hundreds of MBs or more) might end up taking less space than they do in CPython. Compatibility: PyPy is highly compatible with existing python code. It supports cffi and can run popular python libraries like twisted and django. Stackless: PyPy comes by default with support for stackless mode, providing micro-threads for massive concurrency. As well as other features.
PyPi是您可以安装的 python 包、模块和库的存储库。
The Python Package Index is a repository of software for the Python programming language. There are currently 120970 packages
关于python - PyPy 和 PyPI 有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47117884/