compiled-language

Is Ruby a scripting language or an interpreted language?

我怕爱的太早我们不能终老 提交于 2019-12-20 09:12:33
问题 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 doesn't need a compiler and a compiled language (who require to be compiled before the execution of programs), but what characterize a scripting language ? Is Ruby definable as a scripting language ? Thank you and forgive me for the black out 回答1:

Is Bash an interpreted language?

冷暖自知 提交于 2019-12-09 08:58:51
问题 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 calls a precompiled executable) the interpreter itself, bash , has already been compiled However, I could not find a reference to bash on Wikipedia's page for interpreted languages, or by extensive searches on Google. I've also found a page on

Is Bash an interpreted language?

独自空忆成欢 提交于 2019-12-03 10:53:28
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 calls a precompiled executable) the interpreter itself, bash , has already been compiled However, I could not find a reference to bash on Wikipedia's page for interpreted languages , or by extensive searches on Google. I've also found a page on Programmers Stack Exchange that seems to imply that bash is not an interpreted language- if it's not, then

Is Perl a compiled or an interpreted programming language?

不羁的心 提交于 2019-11-29 23:05:18
Is Perl compiled or interpreted? Prof. Falken Well, that depends on what you mean by a compiled language. Maybe this is why googling did not bring forth a clear answer to your question. One viewpoint is that compilation means compiling from a source code description to another, i.e. code generation . If we accept these premises, then Perl 6 can be compiled and Perl 5 and older are interpreted languages. Perl 6 is specifically compiled to Parrot bytecode . Perl 6 is therefore a properly compiled language, in the same way say, Java is . Perl 5 and older parses the Perl source code to an internal

Is Clojure compiled or interpreted?

為{幸葍}努か 提交于 2019-11-29 02:10:09
问题 I read somewhere Clojure is compiled. Is it really compiled, like Java or Scala, rather than interpreted, like Jython or JRuby? 回答1: Clojure is always compiled . The Clojure compiler produces Java byte code, which is typically then JIT-compiled to native code by the JVM. The thing that can be confusing is the dynamic and interactive nature of Clojure that means you can invoke the compiler at run-time if you want to. This is all part of the Lisp "code is data" tradition. For example, the

Is Perl a compiled or an interpreted programming language?

╄→尐↘猪︶ㄣ 提交于 2019-11-28 20:12:03
问题 Is Perl compiled or interpreted? 回答1: Well, that depends on what you mean by a compiled language. Maybe this is why googling did not bring forth a clear answer to your question. One viewpoint is that compilation means compiling from a source code description to another, i.e. code generation. If we accept these premises, then Perl 6 can be compiled and Perl 5 and older are interpreted languages. Perl 6 is specifically compiled to Parrot bytecode. Perl 6 is therefore a properly compiled

Is Ruby really an interpreted language if all of its implementations are compiled into bytecode?

爱⌒轻易说出口 提交于 2019-11-28 06:55:58
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 save the compiled bytecode to disk disappeared somewhere in the process of merging the YARV virtual machine. JRuby is compiled into Java .class files. I don't have a lot of details on MagLev, but it seems safe to say it will take that road as well. I'm confused about this compilation/interpretation issue with respect to Ruby. I learned that Ruby is an

Is Ruby really an interpreted language if all of its implementations are compiled into bytecode?

雨燕双飞 提交于 2019-11-27 01:22:13
问题 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 save the compiled bytecode to disk disappeared somewhere in the process of merging the YARV virtual machine. JRuby is compiled into Java .class files. I don't have a lot of details on MagLev, but it seems safe to say it will take that road as well. I'm