Skip the navigation

Java yields to other languages on the Java Virtual Machine

By Paul Krill
July 16, 2009 06:20 AM ET

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.

Reprinted with permission from InfoWorld. Story copyright 2010 InfoWorld Media Group, Inc. All rights reserved.
Additional Resources
Forrester Consulting - Optimizing Users and Applications in a Mobile World
WHITE PAPER
Solving application issues over the WAN requires careful consideration. Based on their independent research, Forrester Consulting offers recommendations on how to tackle application performance issues, insufficient bandwidth and the inability to quickly restore users in a disaster.

Read now.

Security KnowledgeVault
WHITE PAPER
Security is not an option. This KnowledgeVault Series offers professional advice how to be proactive in the fight against cybercrimes and multi-layered security threats; how to adopt a holistic approach to protecting and managing data; and how to hire a qualified security assessor. Make security your Number 1 priority.

Read now.

Cut Communications Costs Once and for All
WHITE PAPER
New IP-based communications systems are being deployed by small and midsized businesses at a rapid rate. Learn how these organizations are enabling faster responsiveness, creating better customer experiences, speeding office or mobile interactions, and dramatically reducing existing communications costs.

Read now.

App Development White Papers
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
App Development Webcasts
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
Newsletter Sign-Up

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all newsletters | Privacy Policy
IT Jobs