0
What's the difference between a runtime and an interpreter.
For example: node js is a runtime while python is an interpreted language
5 Answers
+ 10
jay this article might help in understaning the JS runtime env
https://medium.com/@olinations/the-javascript-runtime-environment-d58fa2e60dd0
and a comparison
https://www.educba.com/JUMP_LINK__&&__python__&&__JUMP_LINK-vs-node-js/
+ 3
It may help if you expound on the context of the question. Runtime is a technical term that has several contextual definition
+ 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
+ 1
Da2 my question essentially boils down to, why do we call python a language and nodejs a runtime? Burey Zeke Williams
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?