harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Anderson" <p_j_ander...@volny.cz>
Subject Dalvik bytecode version of Harmony's DRLVM feasible as the new JVM?
Date Thu, 11 Nov 2010 03:33:16 GMT
In view of the current problem with the TCK and software patents,
here's an idea - excuse me if it's come up before or if it's totally
wacky.

The Dalvik VM was written for phones and similar small devices. For
servers and desktops, how about making an implementation of the
DRLVM that runs Dalvik bytecode?
The Apache name and ethos has great credibility, and a good
patent-unencumbered VM is desperately needed as an
Apache-webserver-like de-facto standard.
For various VM languages, the Android technique of compiling them or
their interpreters into Java bytecode then transforming to .dex
could be used in the interim as is already done on Android, followed
later by native compilation into Dalvik bytecode - so JRuby, JPython
etc could be adapted quickly to work directly on such a VM, and with
a bit more effort, even languages that dynamically generate and load
bytecode.

For the Java language itself, Dalvik-ized Java platform classes
taken from Harmony could be a separate project with an open TCK
corresponding to Java 5 and 6, and a Java-to-dex compiler added
later.

Could it be done? And should it? Maybe James Gosling could advise,
since he is free!



Mime
View raw message