[Mono-list] Mono JIT

Tom tom7ca@yahoo.com
Mon, 9 Jul 2001 13:42:46 -0700 (PDT)


I read the description of the Mono project 
with interest.  I wanted to make a suggestion 
about the JIT: almost all JITs appear to be written  
in C or another low-level language.  Why that is, 
I can't quite fathom.

I hope you'll take a look at OpenJIT
which implements a Java JIT in Java.  I think an 
analogous approach might be suitable for CLR as
well.  In fact, if you get the OpenJIT folks to
their codebase under the LGPL, you might be able to
use it (or an automatic translation into C#) as a 
starting point.

I think such an approach would make retargetting
the Mono JIT potentially much easier.

Incidentally, a similar argument could be made about
writing the Mono VM interpreter in C#.  There is
actually more precedent for writing the virtual
machine for a language in the language itself than
for the JIT.  One particularly nice example is the
Squeak Smalltalk VM that's implemented in Squeak


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail