r/learnpython 8h ago

Python difference.

What is the difference between python ,IronPython,Jython,Cython.i will get a lot of confusion towards these concepts.

0 Upvotes

6 comments sorted by

18

u/pingveno 7h ago
  • Python: The language itself
  • CPython: The reference interpreter implemented in C. Most people use this.
  • IronPython: Python interpreter for .NET
  • Jython: Python 2 interpreter for JVM
  • GraalPy: Python 3 interpreter for JVM
  • PyPy: Python implemented in Python, implements a JIT
  • MicroPython: Subset of Python for embedded systems
  • Cython: dialect of Python that compiles to a C extension module

2

u/zaphodikus 1h ago

After a dozen years nobody has explained it to me this way yet, can we get that in a sticker format?

7

u/NumberInfinite2068 8h ago

Python is the language.

IronPython is a runtime for that language for .NET.

Jython is a runtime for that language in Java (runs on the JVM).

Cython is a superset of the Python language, i.e. it's Python + some more features.

7

u/klmsa 8h ago

Cython is Python compiled into C/C++. It's just faster python (which requires a compiler instead of being interpreted at runtime). Calling it a superset is fair, but that doesn't mean anything to someone asking these types of questions.

1

u/veekm 8h ago

Python and Cpython are the same thing - CPython is the python interpreter written in C what we normally use

IronPython supports c# and .net

In jpython the code is converted to java bytecode and run on the JVM (java virtual machine)

1

u/Jello_Penguin_2956 7h ago

Python - is the language. It's like the steering wheel and accelerator paddle.

Other ones are like different car engines. One car may be pulled by monkeys, the other elephants, but you still turn steering wheels the same way and step on paddle the same way.