No announcement yet.

What is the best compiler for python?

  • Filter
  • Time
  • Show
Clear All
new posts

  • What is the best compiler for python?

    Python has a compiler! You simply don't observe it as it runs mechanically. You can tell it's there, though: observe the .percent (or .pyo if you have the optimizer turned on) documents that are generated for modules that you import or write yourself.

    Additionally, it does no longer compile to the local device's code. Instead, it compiles to a byte code that is utilized by a virtual device. The digital machine is itself a compiled software. That is very just like how Java works; so comparable, in reality, that there may be a Python variation (Jython) that compiles to the Java virtual machine's byte code alternatively! There may be also IronPython, which compiles to Microsoft's CLR (used by .internet). (The ordinary Python byte code compiler is from time to time known as CPython to disambiguate it from these options.) Right here are the popular python compilers, interpreters and translators:

    Python (CPython)

    Python is an interpreted item-oriented programming language with many adherents on the internet. to cite from the Python FAQ, "it consists of python modules, exceptions, dynamic typing, very high-stage dynamic information kinds, and instructions." It helps numerous versions of Unices (which include, of the path, Linux), windows, Mac, OS/2 or even MSDOS. This version of Python, frequently referred to as CPython because it turned into written inC (another programming language), is the reference implementation of the language. it's also probably the most widely used.

  • #2
    Thank you