filmov
tv
Display the byte code of python program

Показать описание
In python, the byte code is generated internally by PVM(python virtual machine) in the memory heap which is not visible to programmers eyes.
There are different types of compiler that are used for python
CPython(C compiler)
PyPy(JIT compiler)
JIT compiler is faster compared to C compiler during interpretation phase.
Below example in linux shows the procedure to peep through the byte code files generated by python3 compiler.
Here python3 calls the compiler to display the results directly to the screen rather than generating the byte code files.
Please subscribe to the channel for more videos!
There are different types of compiler that are used for python
CPython(C compiler)
PyPy(JIT compiler)
JIT compiler is faster compared to C compiler during interpretation phase.
Below example in linux shows the procedure to peep through the byte code files generated by python3 compiler.
Here python3 calls the compiler to display the results directly to the screen rather than generating the byte code files.
Please subscribe to the channel for more videos!