From: Robert Klemme Date: 2011-01-14T00:54:33+09:00 Subject: Re: Ruby is interpreted and scripting language? On Thu, Jan 13, 2011 at 5:00 AM, Sai Babu wrote: > I am ruby fresher. > i have studied that > "Ruby is a pure object oriented interpreted and scripting language". > > I would like to know what is the difference between interpreted language > and scripting language??? "Interpreted" is an attribute of a /language implementation/ which describes _how_ this implementation _executes programs_. "Scripting" is an attribute of a /language/ which describes the usage of it. So both are really orthogonal concepts although - as has been mentioned before - scripting languages are often interpreted. Earlier on there were basically only interpreters and compilers for languages. Today the spectrum is much broader. We actually have languages that are both at the same time; if you need an example, you can look to Java: Java programs are usually compiled - to a specific byte code. During execution this byte code is interpreter and hot spots are compiled to native machine language. Actually if a class is replaced the code will be interpreted again etc. So there are multiple modes of operation. I am sure similar reasoning applies to languages on CLR (Microsoft's version of a virtual machine). Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/