Questions tagged [interpreted-language]

Questions about interpreted languages and program interpretation in general. A language implementation is interpreted if programs are executed by another program (the interpreter) as opposed to being transformed (compiled) into code that is directly executed by the machine.

An interpreted language is a programming language in which programs are "indirectly" executed (interpreted) by an interpreter program. This can be contrasted with a compiled language which is converted into machine code and then "directly" executed by the host CPU.

Theoretically, any language may be compiled or interpreted; this designation is applied purely because of common implementation practice and not some essential property of a language. Indeed, for some programming languages, there is little performance difference between an interpretive, or compiled-based approach to their implementation.

For more information, see the Wikipedia entry about interpreted languages.
See also .

158 questions
-1
votes
1 answer

Output line of code while executing it in Python

I am developing a small program which I want to give to my younger friends to introduce them to the bare minimum basics of programming using Python. In it, I want to add functionality to output the line of code that is being executed, as it is being…
axolotl
  • 1,042
  • 1
  • 12
  • 23
-1
votes
1 answer

Is an interpreted language good for the implementation language of an interpreter?

Would writing an interpreter for a new language in an interpreted language like Python be a bad idea, in all aspects, for example speed.
-1
votes
3 answers

Dynamic binding in interpreted languages vs compiled languages

So currently reading about binding... Based on the examples I can think of along with examples found on the web, it appears that dynamic binding tends to occur predominantly in interpreted languages as opposed to occurring in compiled languages.…
-2
votes
1 answer

Why Golang for loop is slower than Python for loop?

I have tested how golang performs on for loop Just looping 50,000 times in python and golang and I found that it took 0.59 seconds in python while in golang it took 9.12 seconds Can any experienced go developer tell me why Golang is too slow at for…
-2
votes
3 answers

Why Do Interpretors Compile the Code Everytime a Program is Run?

My question is about all interpreted languages, but to illustrate my point better I will use Java as an example. What I know for Java is that when programmers write their code they have to compile it in java byte codes which are like machine…
-2
votes
4 answers

Confused about advantage of interpreted language

I'm confused about the advantage of an interpreted language like java, over a compiled language. The standard explanation for the advantage of an interpreted language, such as java, over a compiled language is that the same .class file can run on…
user3124200
  • 343
  • 1
  • 5
-2
votes
1 answer

PHP class method treats parameter as an object instead of string/dynamically interpreting the parameter data type

I discovered something new today. I have a PHP class with typical members, private, public and protected methods. One of the methods is this: protected function processThis($dataString) { $dataStringJson = json_decode($dataString); } And this…
Parijat Kalia
  • 4,929
  • 10
  • 50
  • 77
-3
votes
1 answer

What naming to use for interpreted languages?

What kind of naming convention should I use for variables in uncompiled code like PHP that is holding values for passwords? Obviously naming something “loginPassword” isn’t good- so what do people use instead?
obizues
  • 1,473
  • 5
  • 16
  • 30
1 2 3
10
11