Debian Codegraph @

pypy/doc/introduction.rst

raw
1 What is PyPy?
2 =============
3
4 Historically, PyPy has been used to mean two things. The first is the
5 :ref:`RPython translation toolchain <rpython:index>` for generating
6 interpreters for dynamic programming languages. And the second is one
7 particular implementation of Python_ produced with it. Because RPython
8 uses the same syntax as Python, this generated version became known as
9 Python interpreter written in Python. It is designed to be flexible and
10 easy to experiment with.
11
12 To make it more clear, we start with source code written in RPython,
13 apply the RPython translation toolchain, and end up with PyPy as a
14 binary executable. This executable is the Python interpreter.
15
16 Double usage has proven to be confusing, so we've moved away from using
17 the word PyPy to mean both toolchain and generated interpreter. Now we
18 use word PyPy to refer to the Python implementation, and explicitly
19 mention
20 :ref:`RPython translation toolchain <rpython:index>` when we mean the framework.
21
22 Some older documents, presentations, papers and videos will still have the old
23 usage. You are hereby warned.
24
25 We target a large variety of platforms, small and large, by providing a
26 compiler toolsuite that can produce custom Python versions. Platform, memory
27 and threading models, as well as the JIT compiler itself, are aspects of the
28 translation process - as opposed to encoding low level details into the
29 language implementation itself.
30
31 For more details, have a look at our :doc:`architecture overview <architecture>`.
32
33 .. _Python: https://python.org
34 .. _