Is Ruby a scripting language or an interpreted language?

前端 未结 3 1976
醉话见心
醉话见心 2021-01-31 16:49

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.

3条回答
  •  有刺的猬
    2021-01-31 17:31

    The term 'scripting language' is very broad, and it can include both interpreted and compiled languages. Ruby in particular, might compiled or interpreted depending on what particular implementation we're using - for instance, JRuby gets compiled to bytecode, whereas CRuby (Ruby's reference implementation) is interpreted

提交回复
热议问题