4 ms·
What is a "JVM-based language"? The JVM is simply a virtual machine. One could theoretically compile any language to run on this virtual machine. The popularity
by calinet6 14y ago
What is a "JVM-based language"? The JVM is simply a virtual machine. One could theoretically compile any language to run on this virtual machine. The popularity is a testament to the maturity and reliability and ease-of-use of the VM, but to say a language is a "JVM language" is no more accurate than saying that C is an "x86 language" simply because x86 is the most popular target architecture.
Details details...
- thebluesky 14y agoWhat two word phrase would you use to describe the following set of languages {JRuby, Scala, Clojure, Groovy} without turning the headline into a full paragraph?
- batista 14y ago>What is a "JVM-based language"? The JVM is simply a virtual machine. No, it's more specifically a virtual machine designed, with the Java language primarily (if not exclusively) in mind. Where do you think the J in the JVM comes from? >One could theoretically compile any language to run on this virtual machine. And that language implementation would then be a "JVM based language". Duh!
- technomancy 14y agoNot all languages have a formal spec. Many are implementation-defined. You can turn your nose up at them if you like, but they still exist.
- chc 14y agoC happens to be most often compiled for x86, but the language isn't designed primarily to target x86. On the other hand, languages like Scala, Clojure, Groovy, etc. do intentionally target the JVM and tout Java interop as a feature. Other targets are secondary (or nonexistent) not just for the users, but for the language designers themselves.