In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail what the inside story about the implementation of the Python programming language is, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.
When Python, they may think of this particular implementation, sometimes called "CPython" (because it is implemented in C). But Python, as a language specification, has been implemented several times as the reference implementation of Guido van Rossum has evolved. Includes two non-standard Python-- Stackless and Vyper.
The Linux zone on the developWorks website is a developer resource about Linux, Linux resources, and Linux development.
As far as I know, four Python implementations can now be downloaded and run, and one is in the process of being created. Each implementation has its own special reasons for existence, which can be learned here from the words of the implementation developer.
The implementations produced by recompiling compilers or interpreters for different platforms are only slightly different (there may be a small number of conditional compilations and changes), but the most interesting implementations (as far as I am concerned) are those that go beyond platform issues. In fact, most of the Python implementations we will see in this article are multi-platforms themselves. The concept of implementation is also different from the concept of version.
In terms of language features, all the implementations discussed here are basically in the same language version (1.5.2). It is clear that one part of the CPython 1.6 Accord 2.0 Accord 3000 is already part of the new basic implementation, but other implementations can be equally consistent with those language-level features.
Which programming languages have been reimplemented, how often, for what reasons, and by whom? It is very difficult to describe this group of languages. Some popular languages that are almost the same as Python-- such as perl, REBOL, and PHP-- have only one implementation (compiled into many platforms). TCL is most similar to Perl/PHP, but there is a version of the Java platform called Jacl.
At the other extreme, languages such as C, Awk, Cobol, REXX, and Java have been implemented countless times. But those re-implementations are for licensing and marketing considerations, not for implementation concepts and abstractions. Languages that seem to have special academic implications have been reimplemented a lot (especially functional, logical, or ultra-pure OOP languages, such as Smalltalk and Eiffel). Lisp has dozens of implementations and derivatives, if not hundreds.
Unlike the Python implementation we will discuss, the derivation of Lisp tends to introduce many novel language features while providing new implementations. The Python implementation implements the same Python language as the major CPython versions to a large extent. All existing versions are the result of open source collaborative efforts, in which case innovation has little to do with market positioning or even the license battles that sometimes divide open source projects.
Moreover, different versions of Python are not really tributaries in the traditional sense, but focus on different concepts that prove that it is itself a Python implementation.
The two unspecified implementations are JPython and Python.NET. JPython is a compiler written in Java that compiles Python source code into Java bytecode. Python applications end up running in JVM (users may not know that it is written in Python source code rather than Java, and they don't need to care). Python.NET is an undelivered implementation, but it-- at least structurally-- will be similar to JPython.
Python.NET will involve Python in Microsoft's .NET project, which is basically a non-Java VM that can run programs written in a variety of languages, such as the new C #, Visual, Basic, Clippers, and Python. Please keep an eye on the information posted by the developers of these implementations.
On the implementation of the Python programming language is what the inside story is shared here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.