[Mono-list] Mono JIT

Fergus Henderson fjh@cs.mu.oz.au
Tue, 10 Jul 2001 14:07:03 +1000


Miguel de Icaza miguel@ximian.com wrote:
> OpenJIT looks really interesting, but it assumes that you have an
> existing Java implementation to run it on.  Currently we have no JIT
> available on non-Windows systems.

What would be the technical obstacle to compiling OpenJit with gcj
(the Java front-end for GCC, which is included in GCC 3.0)?

However, even if the technical issues could be resolved,
there seems to be a more serious problem --- licensing.
The OpenJit licence only permits non-commercial use:

 |     5. Any use of the source code or the binary in a commercial product,
 |        whether may it be the origial [sic] representation or in some modified
 |        form, is not permitted without specific prior written permission.

Anyway personally I'm not sure that using a high-level language is the
best choice for a JIT.  There are definitely a lot of advantages for
maintainability, but JIT compilation time is very important, and it may
be harder to optimize that if you're writing in a higher-level language. 
So C may be a better choice.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.