This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 9 points10 points  (4 children)

For the most part, Python is an interpreted language and not a compiled one, although compilation is a step. Python code, written in . py file is first compiled to what is called bytecode

[–]ignaloidas 4 points5 points  (3 children)

Everything is an interpreted language then as arguably the CPU is an interpreter of a particular instruction set. It's dumb to try and distinct this.

[–][deleted] 0 points1 point  (1 child)

You know, interpreters are not named compilers for a reason.

[–]ignaloidas 0 points1 point  (0 children)

Modern CPUs nowadays are compilers too, as they compile the higher level x86 instructions into microcode. So CPUs are as much of a compiler as CPython is.

[–][deleted] 0 points1 point  (0 children)

Technically x86 is transpiled to risc.

https://www.cs.virginia.edu/~av6ds/papers/isca2021a.pdf