Why are Interpreted Languages Slow?

前端 未结 15 1517
南旧
南旧 2020-12-24 11:05

I was reading about the pros and cons of interpreted languages, and one of the most common cons is the slowness, but why are programs in interpreted languages slow?

15条回答
  •  Happy的楠姐
    2020-12-24 11:49

    Interpreted languages need to read and interpret your source code at execution time. With compiled code a lot of that interpretation is done ahead of time (at compilation time).

提交回复
热议问题