answersLogoWhite

0


Best Answer

It is an interpreted language, however there are some versions that compile the source code to byte code which can then be interpreted with much greater efficiency than the original source code.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is Ruby an interpreted language or a compiled language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is a code written in Eiffel programming language compiled or interpreted?

Compiled.


Give a brief description about compiled and interpreted high level languages?

Any high level language may be either compiled or interpreted. The difference is in the execution speed. Interpreted programs must re-learn how to do each statement in the program, whereas a compiled program is already in the machine code language of the hardware and runs much faster.


Which programming language is compiler type and which is interpreter type?

Although most languages are either compiled or interpreted, there's actually nothing to prevent you interpreting a language that is normally compiled, or compiling a language that is normally interpreted. BASIC, for instance, is traditionally an interpreted language, however modern implementations use compilation. Moreover, Java is typical of many modern languages that natively use both techniques by default, compiling the high-level source code into an intermediate byte code which is than interpreted to produce the machine code. But, with a suitable compiler implementation, it is possible to produce native machine code programs from Java source code. When we speak of compiled or interpreted languages we're usually referring to the language's standard, if it has one. C and C++ are standardised and both are compiled, but there's nothing to prevent them from being interpreted. BASIC, on the other hand, is non-standard because it has such a wide-variety of variants, some of which are interpreted, some of which compile to byte code (which is then interpreted) and some of which compile to native machine code. Non-standard languages are generally non-portable therefore you have to look at the specific implementation to determine if it is compiled, interpreted, or both compiled and interpreted.


Is C compiled or interpreted?

Assembler, COBOL, PL/I, C/C++ are all translated by running the source code through a compiler. This results in very efficient code that can be executed any number of times. The overhead for the translation is incurred just once, when the source is compiled; thereafter, it need only be loaded and executed. Interpreted languages, in contrast, must be parsed, interpreted, and executed each time the program is run, thereby greatly adding to the cost of running the program. For this reason, interpreted programs are usually less efficient than compiled programs. Some programming languages, such as REXX™ and Java™, can be either interpreted or compiled.


Is PHP a compiler or interpreter?

It is normally interpreted by another computer program. However subsets of the language can be compiled.

Related questions

Is ruby a native programming language?

No, Ruby is an interpreted language; it is not directly compiled to machine code, but instead is executed inside a virtual environment (the Ruby Runtime Environment).


Is lisp is both compiled and interpreted language?

Lisp is both compiled and interpreted language.


Is VB script language an interpreted or compiled language?

Interpreted.


Is a code written in Eiffel programming language compiled or interpreted?

Compiled.


What are the characteristics of markup language?

interpreted not compiled


Is C plus plus interpreted or compiled?

C++ is conventionally regarded as a compiled language, however there's nothing in the language itself that prevents it from being interpreted.


What are the interpreter in c plus plus?

C++ is a compiled language, not an interpreted language.


All programs written for today's PCs are compiled as?

No, some of them are not compiled, but interpreted (languages perl, python, php, ruby etc,).


Is c plus plus a complied or interpreted language?

C++ is generally a compiled language.


High-level programming language compiled?

Some are and some are interpreted.


Give a brief description about compiled and interpreted high level languages?

Any high level language may be either compiled or interpreted. The difference is in the execution speed. Interpreted programs must re-learn how to do each statement in the program, whereas a compiled program is already in the machine code language of the hardware and runs much faster.


Is groovy an interpreted language?

Yes, Groovy is primarily an interpreted language. It is often run on the Java Virtual Machine (JVM) and is compiled to bytecode at runtime. This makes Groovy a dynamic language with scripting capabilities.