What is CPython? What is PyPy? What is the relationship between Python and these two things? What language is the underlying implementation of Python? Do I need to learn the underlying implementation to learn Python?
Source: Internet
Author: User
0 reply content: first, Python is a language. Therefore, Cpython, Jython, and Pypy are implemented based on their implementations.
CPython uses the C language to implement Python and Its Interpreter (JIT compiler). Jython is implemented using the Java language, and Pypy is implemented using Python (precisely a Python subset ). It is like English is also divided into the United States, Britain, Australia and other English, its syntax is figured out, but the implementation of the class library is different.
It is unnecessary to learn whether Python needs to learn the underlying implementation. It is unnecessary only from the application perspective. However, if you need to systematically master the language, understanding the underlying implementation will help you understand the design ideas and restrictions of the language. 1. CPython is the most popular Python implementation.
2. PyPy is also a Python implementation language, which is RPython
3. Python: communism; CPython: Soviet Union; PyPy: tianchao
4. Depending on different implementations, C (CPython) \ C ++ (Pyston) \ Java (Jython) \ C # (IronPython) \ Ruby \ JS are available, and their maturity is very different.
5. It is necessary. Python Interpreter
Python is a language with syntax and other specifications. However, the specific implementation is different. CPython is implemented in C and is also a reference implementation. That is to say, the latest language features are implemented first. Linux and OS X come with this version. IronPython is implemented using. NET, Jython is Java, and PyPy is implemented using Python.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.