BYTE.com
RSS feed

Newsletter
Free E-mail Newsletter from BYTE.com
Email Address
First Name
Last Name




 
    
             
BYTE.com > Tangled in the Threads > 2000 > December

JVM And CLR

By Jon Udell

December 14, 2000

(JVM And CLR :  Page 1 of 4 )



In this Article
JVM And CLR
Chui Tey's JVM Integration Survey
The Survey Continued
Java-The-Language, Java-The-Platform
In response to a column last month on the language-agnosticism of Microsoft's forthcoming Common Language Runtime, several people wrote to point out that the Java Virtual Machine already in many ways achieves this vision.

Steven Marcus:

The JavaVM is language agnostic.

There are many programming languages available for the JavaVM, including Lisp, Scheme, JavaScript, JPython, Prolog, and Eiffel. See http://grunge.cs.tu-berlin.de/vmlanguages.html .

There is no reason that a future JavaVM couldn't perform the same full translation to native code that the CLR does. Sun has been emphasizing JIT-compilation. This track may pay off with future HotSpot technology. It doesn't have to stay on that track though. The JavaVM on AS/400 compiles (and caches).class files to native code on demand. Oracle has [promised?] a full native-code compiler for Oracle8i -- but I believe that it compiles when you "install/deploy" the Java .class files. There are some commercial Java accelerators that do it as a deployment option on Windows. Also, GNU gcc has a Java backend that does it too.

There is a good amount of "metadata" available about objects available from the JavaVM. The Java Reflection API could be used to expose non-Java objects to a Java program.

Chui Tey:

An alternative to .NET is to use the JVM as the CLR, and then compile different languages to Java bytecodes. There is real value in this, although I'm not sure if Sun is up to this philosophically.

There's the rub. Since Java appeared, it has been clear that Java-the-language was, theoretically, just the preferred interface to the Java Virtual Machine, in the same way that C# is a preferred interface to the .NET Common Language Runtime. Yet, Sun, itself, has never chosen to emphasize this point. It's been left to an intrepid band of independent developers to work out ways to integrate other languages with the JVM.

 Page 1 of 4 Next page


BYTE.com > Tangled in the Threads > 2000 > December
Dr. Dobb's Media Center
BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE: Volume 2 - Heuristic Algorithms
The Best of BYTE: Volume 2 - Heuristic Algorithms
In this volume of Best of BYTE, we explore the emergence of some heuristic algorithms. Although we have only scratched the surface of this intriguing subject, we hope we've suggested the potential of the synthesis of heuristics and algorithms.

© 2008 Think Services, Privacy Policy, Terms of Service, United Business Media Limited
Site comments: webmaster@byte.com
Web Sites: BYTE.com, dotnetjunkies.com, Dr. Dobb's Journal, SD Expo, Sys Admin, sqljunkies.com, Unixreview



MarketPlace
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.
Develop 10 times faster ! ALM, IDE, .Net, RAD, 5GL, Database, 5GL, 64-bit, etc. Free Express version
Quality Java/JSP Hosting for $10.95 incls. Private JVM, Tomcat, MySQL, 500Gb Space, 1000Gb Transfer
Try Numara FootPrints 9, The ITSM software that Delivers Real Value, Flexibility and Results.
Sign Up & Get Full Access To The Definitive Online Book Collection With SkillSoft's Books24x7�.
Wanna see your ad here?
 

web2