Is Ruby a scripting language or an interpreted language?

Things aren’t just black and white. At the very least, they’re also big and small, loud and quiet, blue and orange, grey and gray, long and short, right and wrong, etc. Interpreted/compiled is just one way to categorize languages, and it’s completely independent from (among countless other things) whether you call the same language a … Read more

Is Clojure compiled or interpreted?

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 … Read more

Why HTML/JavaScript/CSS are not compiled languages and will they ever be?

Ah, but Javascript IS becoming a compiled language. Check out Firefox 3.5 with TraceMonkey. It’s insanely fast compared to um you-know-who’s browser. It’s true that JS will never be C, but it’s a much more dynamic language than C is, and in many ways that makes it more expressive and powerful. As far as HTML … Read more

Why interpreted langs are mostly ducktyped while compiled have strong typing?

The premises behind the question are a bit dodgy. It is not true that interpreted languages are mostly ducktyped. It is not true that compiled languages mostly have strong typing. The type system is a property of a language. Compiled versus interpreted is a property of an implementation. Examples: The programming language Scheme is dynamically … Read more

Why are Interpreted Languages Slow?

Native programs runs using instructions written for the processor they run on. Interpreted languages are just that, “interpreted”. Some other form of instruction is read, and interpreted, by a runtime, which in turn executes native machine instructions. Think of it this way. If you can talk in your native language to someone, that would generally … Read more

Is Javascript compiled or an interpreted language? [closed]

Go and read the answers to this question https://softwareengineering.stackexchange.com/questions/138521/is-javascript-interpreted-by-design The answer I accepted is excellent and should help answer your question. For me personally, I am somewhat cautious of the idea of calling a language interpreted or compiled. It’s an implementation decision, not part of the language specification. If you want to talk about compiled … Read more