0

What's the difference between a runtime and an interpreter.

For example: node js is a runtime while python is an interpreted language

5th Feb 2019, 3:37 PM
jay
5 Antworten
7th Feb 2019, 7:57 PM
Burey
Burey - avatar
+ 3
It may help if you expound on the context of the question. Runtime is a technical term that has several contextual definition
5th Feb 2019, 11:32 PM
Da2
Da2 - avatar
+ 2
Compiled vs. Interpreted Languages Programming languages generally fall into one of two categories: Compiled or Interpreted. With a compiled language, code you enter is reduced to a set of machine-specific instructions before being saved as an executable file. With interpreted languages, the code is saved in the same format that you entered. Compiled programs generally run faster than interpreted ones because interpreted programs must be reduced to machine instructions at runtime. However, with an interpreted language you can do things that cannot be done in a compiled language. For example, interpreted programs can modify themselves by adding or changing functions at runtime. It is also usually easier to develop applications in an interpreted environment because you don't have to recompile your application each time you want to test a small section. So, which is DScript, compiled or interpreted?  Actually, DScript is both. When you enter definitions in DScript, they are immediately reduced to a set of basi
5th Feb 2019, 4:14 PM
Yash🏁🔘
Yash🏁🔘 - avatar
+ 1
Da2 my question essentially boils down to, why do we call python a language and nodejs a runtime? Burey Zeke Williams
7th Feb 2019, 4:55 PM
jay
0
Yash🏁🔘 i think you miss understood me. Maybe i wasn't clear. My question is, what's a runtime (which in this case applies to nodejs) and what is the difference between a runtime and an interpreted language?
5th Feb 2019, 9:16 PM
jay