[freenet-tech] Technology / Features

Tom Tromey tromey@redhat.com
Sun Mar 3 12:01:00 GMT 2002


>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> OK, I will show my ignorance. Is there actually a real reason
Mark> that the verifier is written in C++. I see the smiley but don't
Mark> know how to interpret it in this situation. Having a verifier
Mark> written in java would be a very nice thing since then we could
Mark> integrate it with ClassLoader so other VMs don't have to
Mark> implement their own verification.
I wrote it in C++ since it made some things easier than C (I can use
objects for type and state information) but it uses less memory and is
more efficient than Java. That's especially true in the context of
libgcj, where the bytecode and such is available as a `char *' array
and not a jbyte[] -- changing this would have meant reallocating every
method, etc.
Maybe these considerations aren't really important. There was no way
to know when I started.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /