Any programming language that is primarily implemented by using a compiler, i.e. programs written in the language are translated into machine code before execution.
Questions tagged [compiled-language]
43 questions
42
votes
3 answers
Is Clojure compiled or interpreted?
I read somewhere Clojure is compiled. Is it really compiled, like Java or Scala, rather than interpreted, like Jython or JRuby?

OscarRyz
- 196,001
- 113
- 385
- 569
31
votes
3 answers
Is Ruby a scripting language or an interpreted language?
I just noticed that in the wikipedia page of Ruby, this language is defined as interpreted language.
I understood that probably there's something missing in my background. I have always known the difference between an interpreted language that…

Giuseppe Di Federico
- 3,501
- 4
- 20
- 19
28
votes
9 answers
Is Perl a compiled or an interpreted programming language?
Is Perl compiled or interpreted?

Mr. L
- 3,098
- 4
- 26
- 26
20
votes
3 answers
Is Bash an interpreted language?
From what I've read so far, bash seems to fit the defintion of an interpreted language:
it is not compiled into a lower format
every statement ends up calling a subroutine / set of subroutines already translated into machine code (i.e. echo foo…

James Ko
- 32,215
- 30
- 128
- 239
18
votes
6 answers
Is R an interpreted or compiled programming language?
Is R an interpreted or compiled programming language?

AngryHacker
- 59,598
- 102
- 325
- 594
16
votes
7 answers
Is Ruby really an interpreted language if all of its implementations are compiled into bytecode?
In the chosen answer for this question about Blue Ruby, Chuck says:
All of the current Ruby
implementations are compiled to
bytecode. Contrary to SAP's claims, as
of Ruby 1.9, MRI itself includes a
bytecode compiler, though the ability
to…

Paul Dexter
- 405
- 1
- 4
- 10
10
votes
2 answers
Linking and Loading in interpreted languages
In compiled languages, the source code is turned into object code by the compiler and the different object files (if there are multiple files) are linked by the linker and loaded into the memory by the loader for execution.
If I have an application…

x-treme
- 1,606
- 2
- 21
- 39
7
votes
3 answers
Do compiled PHP scripts exist?
I am wondering if anyone has used or read about PHP scripts compiled as a .so extension for Apache... Thing is I think I remember reading about it somewhere but dont know if such a thing exists.
This looks promising, but incomplete and abandoned:…

dabito
- 586
- 1
- 7
- 14
6
votes
3 answers
Why is client-side web still using an interpreted language?
To my knowledge JavaScript is the only language that will execute on the client side after the HTML file has been retrieved from the server. As far as I know JavaScript is by no means compiled in anyway and thus it is an interpreted language.
With…

Storm Muller
- 622
- 6
- 21
4
votes
1 answer
What does it really mean to "install" a programming language?
I would like to know what it means to "install" a programming language.
So far my search has yielded two conflicting answers:
You don't install a programming language. You install a compiler/interpreter and then just feed it text files containing…

303
- 299
- 2
- 10
4
votes
3 answers
Looking for a new language that supports both interpreted and native compilation modes
I currently program in Perl, Python, C#, C, C++, Java, and a few other languages, and I'm looking for a new language to use as a primary when doing personal projects.
My current criteria are:
can be run as an interpreted language (i.e., run…

Loki
- 6,205
- 4
- 24
- 36
4
votes
4 answers
how do you define a language that is not compiled
I ask this question because I see alot of "personal preference" when it comes to the terms "Scripting Language" and "Programming Language".
My question is:
Is there a proper technical term for a language that does not compile, or runs directly in…

Callat
- 2,928
- 5
- 30
- 47
4
votes
2 answers
number of loops matters efficiency (interpreted vs compiled languages?)
Say you have to carry out a computation by using 2 or even 3 loops. Intuitively, one may thing that it's more efficient to do this with a single loop. I tried a simple Python example:
import itertools
import timeit
def case1(n):
c = 0
for i…

aaragon
- 2,314
- 4
- 26
- 60
3
votes
4 answers
statically typed, embeddable, compilable scripting langage
I'm lookign for a langage with the following features :
SWIG-compatible, or similar. Compatibility with C++ should be easy :
C, C++, AllegroCL, C# - Mono, C# - MS
.NET, CFFI, CHICKEN, CLISP, D, Go
, Guile, Java, Lua,
MzScheme/Racket, Ocaml,…

Calvin1602
- 9,413
- 2
- 44
- 55
3
votes
2 answers
Factorial loop becomes 0
I ran a simple program with a compiled language that calculates the factorial of the first few natural numbers using two simple cycles, an outer one to keep track of which is the number that we are calculating the factorial and an inner one to…

John
- 141
- 4