Java yields to other languages on the Java Virtual Machine
InfoWorld - Move over, Java. There's more to the Java Virtual Machine than just the Java language these days -- and the field of languages for JVM is growing.
Conceived as a mechanism to provide Java application portability across multiple hardware varieties and operating systems, the JVM now accommodates other languages, ranging from dynamic languages such as JRuby, Jython, and Clojure to the statically typed Scala language. Thus, the JVM is becoming a polyglot platform, where developers can take advantage of different languages for different needs.
[ See InfoWorld's related stories: "Scripting languages spark new programming era" and "JRuby to live on after Sun-Oracle merger." | InfoWorld's Neil McAllister argues, "We need more polyglot programmers." ]
The reason the JVM has become so attractive for other languages is the Java platform offers performance and other advantages, says Tim Bray, Sun Microsystems' director of Web technologies. "These days, the JVM, especially HotSpot, has extremely high performance. Second, there's a huge universe of Java libraries. One of the hard problems in getting a new language going is assembling all the necessary libraries to make it useful; on the Java platform you get those for free," he says. Many enterprises also will not deploy anything that does not fit into the Java ecosystem, he notes.
Java the platform taking more prominence than Java the languageSun's Bray emphasizes that the Java platform is becoming more important than the language itself: "I personally think that the Java platform has more strategic importance than the Java language, going forward."
"The JVM has been absolutely great for us because it really has improved performance very steadily essentially in every new generation," says Martin Odersky, developer of the Scala language. Scala can replace Java in a company's infrastructure, he notes, citing Sony Pictures as a case in point.
Still, JVM proponents do not see the Java language being made obsolete by the increasing use of other languages in the JVM. "Java remains the world's most popular programming language and will be at the core of enterprise and systems programming for the foreseeable future," Bray says.
"If anything like that would happen, it would be in the very, very far future," Odersky says. Java has huge momentum behind it and most companies are reluctant to change, he notes. Still, it is "likely that Scala and some other languages will gain programmer share on the JVM platform and that the platform will become more polylingual than it is now," Odersky adds.
One reason JVM may become more polylingual is Sun's Da Vinci Machine project, which promises to simplify the running of dynamic languages on the JVM. "The Da Vinci Machine work-around [Java Specification Request] 292, designed to make it easier for dynamic-language implementers to get good performance on the JVM, is going to improve the platform's attractiveness to the dynamic language community beyond where it is today. That work deserves close attention going forward," Bray says.



- Excel 2010 Cheat Sheet
- Register for this Computerworld Insider Cheat Sheet and gain access to hundreds of premium content articles, guides, product reviews and more.
- The Keys to Distributed & Agile Application Development
- How leading firms are winning with strategies for efficient application development, without relying on co-location.
- Overcome Top 7 Admin Challenges of Active Directory
- As Active Directory's role in the enterprise has drastically increased, so has the need to secure the data. Gain insight on creating repeatable,...
- Insiders Can Ruin Your Company. Take Action.
- Did you know that 80 percent of threats to an organization come from the inside? The threat from insiders is often overlooked in...
- Top Solutions and Tools to Prevent Devastating Malware
- Custom malware frequently goes undetected. According to Forrester Research, the best way to reduce risk of breach is to deploy file integrity monitoring...
- Streamline Compliance and Increase ROI
- Streamline, simplify, and automate compliance related activities; especially those that impact multiple business units. This white paper from NetIQ, outlines solutions that will... All App Development White Papers
- Reduced TCO for Communications Applications with New Oracle SPARC Servers
- In this webcast learn how Oracle's new SPARC T4 servers and SPARC Supercluster deliver the security, performance, and scalability required for 4G network...
- Optimizing Networks for the Cloud
- Join guest speaker, Rohit Mehra, IDC Director of Enterprise Communications Infrastructure, to explore current trends, discuss best practices for optimizing Data Center and...
- Apps QuickStart Series Part 2: Designing and Deploying SQL Server on VMware vSphere
- Download this webcast to learn about the design considerations for virtualizing SQL workloads, performance and scalability information and high-availability options, as well as...
- Apps QuickStart Series Part 1: Designing and Deploying Exchange 2010 on VMware vSphere
- Download this webcast to learn the virtual hardware design considerations for Exchange 2010, deployment using the building block approach, options for high-availability and...
- Customer Spotlight: How IPC The Hospitalist Company Implemented Oracle on VMware
- Have you been looking to hear about customer's experiences with the new VMware vCenter Site Recovery Manager product? View this webcast to learn... All App Development Webcasts