Project proposal: Multi-Language VM
John.Rose at Sun.COM
Tue Oct 9 14:27:22 PDT 2007
Hello world. I propose a new OpenJDK project,
the Multi-Language VM, to be abbreviated "mlvm",
and to be sponsored by the HotSpot group.
This project will be open for prototyping
JVM features aimed at efficiently supporting
languages other than Java.
The emphasis will be on completing the existing
bytecode and execution architecture with general
purpose extensions, as opposed to a new feature
for just one language, or adjoining an unrelated
new execution model.
The emphasis will also be on work which removes
"pain points" already observed by implementors
of successful or influential languages, as opposed
to more speculative work on unproven features or
Virtual machines produced by this project will
be standards-conforming, in that they will not change
the meaning or behavior of existing Java classes
and classfile formats. They may define variations
or extensions of the class format, or new kinds of
objects, whose meaning and behavior are beyond
the scope of current Java and JVM specifications.
However, these extended codes and data structures
will interoperate as much as possible with Java objects.
In addition, as a way of delimiting separate prototyping
efforts, each new feature will come with a switch which
turns it off, and that switch will be "off" by default.
This is the approach used in the Kitchen Sink Language
This proposal refines and completes a partial proposal
I sent earlier this year to the HotSpot project,
a proposal for a "Kitchen Sink VM". The present
proposal is more specifically directed at supporting
new languages (i.e., those languages which are
new to the JVM).
Here are some examples of features that could be
prototyped in this project, if developers were found
who are willing and able:
- tail calls and tail recursion 
- continuations and coroutines 
- tuples and value-oriented types 
- lightweight method objects 
- runtime support for closures 
- invokedynamic 
Prototyping for JSR 292 is likely to occur as
a part of this project. Note that none of the above
suggested features is specific to any single language.
As the current OpenJDK Project guidelines request,
please send followups to the discussion list.
Thanks very much for your attention to this matter,
-- John Rose
 http://ksl.dev.java.net/ (Kitchen Sink Language)
000091.html (Kitchen Sink VM)
 http://lambda-the-ultimate.org/node/1002 (Continuations for Java)
 http://www.javac.info/ (Java Closures)
 http://jcp.org/en/jsr/detail?id=292#2 (Original JSR 292 request)
More information about the announce