Is Python really interpreted?

preview_player
Показать описание
Python is neither compiled nor interpreted. #coding #shorts #python

Connect With Me Here:
Рекомендации по теме
Комментарии
Автор

It’s interpreted, in theory any interpreted language can be compiled.

_sleepy-
Автор

It is interpreted language. Because the code doesn't produce a binary at >>build time<<

what is reason for this? Python has no build time, pèrse.

Everything is executed at once. Statement for statement. That is true for any backend implementation used for Python.

The same is true for c# and java. Both are interpreted languages. Their >>build time<< only produces bytecode which can not be executed on a processor directly. Instead it must run against their respective virtual machine/runtime.

That virtual machine can use a jit to create a binary which is directly executable by the processor.

That comparison is of course massively simplified.

Hanneslueke
Автор

Python is a interpreted language. Just look at the graph you put up yourself about PyPi and you should be able to figure out why.

tomhekker
Автор

Nah this is bs. Interpreted languages always use JIT Build systems for optimizations and resolvers. So interpreting does not always mean converting text to instructions while the execution is running

ramsey