>>>>> "Paolo" == Paolo Bonzini <[EMAIL PROTECTED]> writes:

Paolo> How big would the mini Java-runtime be?  A bytecode-interpreter, with
Paolo> only support for two or three packages, using a simple Baker or
Paolo> mark'n'sweep GC, could be done in 10,000 lines of C code or maybe less.

The problem with a mini JVM in the bootstrap is that it will also need
a class library, which has to come from somewhere.

Bootstrapping an ecj-based gcj is not as hard as bootstrapping Ada.
The class->object compiler will still be C code, so all you will need
to bootstrap is the class files for the library.  These are platform
independent, and can be built with any java compiler on any machine.

We could even check in the class files, if need be.

Tom

Reply via email to