harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: Against using Java to implement Java (Was: Java)
Date Thu, 12 May 2005 12:31:24 GMT
Sounds great Robin. So what the the problems (if any) with JikesRVM?
how would one go about making it enterprise-ready (to use a well-worn
cliche)?

thanks,
dims

On 5/12/05, Robin Garner <robin.garner@anu.edu.au> wrote:
> > I hope you use C to write the VM for Harmony.
> >
> > The reason is, that I think, that the best is, if Harmony is nearly 100%
> > compatible to Suns Java.
> >
> > If you write the VM in Java itself, then there existing some problems:
> > 1. you need a native-code compiler (like gcj) to create it. And if Harmony
> > itself is a native-code compiler it is not 100% compatible to Suns JVM.
> 
> This isn't necessarily so.  While there are bootstrapping issues, VMs like
> JikesRVM compile themselves under normal operation.
> 
> > 2. I don't know how you want to create a JNI-Interface for C, if the JVM
> > is
> > written in Java.
> 
> This has been done successfully by existing Java-in-Java virtual machines.
>  JikesRVM is open source - you could read the code and find out how it
> does it if you want :)
> 
> cheers,
> Robin
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

Mime
View raw message