What is the difference between Python and Jython?

0 votes
What is the difference between Python and Jython?
May 10 in Career Counselling by Dheeraj
There's no meaning of this question as Jython is derived from Python only and is written in Python only. It is different from Python only in execution as it is executed on JVm and the file name of jython is .class file.

1 answer to this question.

0 votes

Hey Dheeraj, following are the differences between Python and Jython:

  • Reference implementation of Python, called CPython, is written in C language. Jython on the other hand is completely written in Java and is a JVM implementation.

  • Standard Python is available on multiple platforms. Jython is available for any platform with a JVM installed on it.

  • Standard Python code compiles to a .pyc file, while Jython program compiles to a .class file.

  • Python extensions can be written in C language. Extensions for Jython are written in Java.

  • Jython is truly multi-threaded in nature. Python however uses the Global Interpreter Lock (GIL) mechanism for the purpose.

  • Both implementations have different garbage collection mechanisms.

answered May 10 by Anvi
• 13,960 points

Related Questions In Career Counselling

0 votes
3 answers

What is the difference between a developer and an architect?

Hi, ​An Architect role is responsible for turning a concept, ...READ MORE

answered Jun 27 in Career Counselling by Gitika
• 25,420 points
0 votes
2 answers

What is the difference between hybrid and native apps?

Hi Lakshya, some of the aspects where ...READ MORE

answered Sep 11 in Career Counselling by Abha
• 27,200 points
+4 votes
27 answers

Which of them is better between Java vs Python? And why?

Python. Don’t even think about it to select ...READ MORE

answered Feb 1 in Career Counselling by navdeep
• 240 points
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 420 views
0 votes
2 answers
0 votes
3 answers

What is the month of hiring in India?

I passed out in 2018. During my ...READ MORE

answered Jul 26 in Career Counselling by anonymous