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

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
• 11,890 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,300 points
0 votes
1 answer

What is the difference between hybrid and native apps?

Hello Lakshya, differences between hybrid and native ...READ MORE

answered May 8 in Career Counselling by Nikita
+4 votes
26 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 173 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