Python Implementations-Short Note (💡)

Below are the points asked in interviews and B.Tech/B.E and Other academy Exam

Python written in the C-language and is called Cpython(code to bytecode before passing to the interpreter and python is an interpreted language*)

  • Jython
  • IronPython
  • PyPy
Jython-Java Implementation 

It compiles the code into java Byte code and allows the developers to seamlessly use java classes within their python Module.

Some python  web framework such as Pylons are currently boosting jython development to make it available in java world.

An example of running Python code inside a simple Java application.



An example of using Java from Python code.




 IronPython - .Net Implementation 

Python into .Net that supported by Microsoft where IronPython 's lead developers work. The python code in their dot Net application in the same way as Jython does in java.It is quite an important implementation for the promotion of language. 

PyPy- Rewrite python into Python 

The python interpreter is itself written in python, we have a C-code layer which carried the nut and bolt work for the Cpython implementation . C code layer based on pure python script that means you can change the interpreter 's behavior during the execution of time. But avoid the these things in production environment. 



 


    
    




Comments