[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Fwd: Re: java virtual machine]
I would also suggest taking a look at Kaffe, (http://www.kaffe.com) which has a 68K JIT
in it already. It doesn't use Sun's sources, but still isn't (in my humble view) a very optimised
system. Porting Sun's sources is a bad thing, as they are far from optimised for low-resource
machines. Just my view of course....
Adding a native methods interface to a dynamic loader is easy - when resolving the methodref
simply search your internal native method/class tables and if it's not found use a registry scheme
to load extra native class library's. Add an extra native method table and voila, dynamic native
methods. In addition, allow an interface so that the native method parameters could be passed
as command line args to an executable as a last resort (allows easy kludge programming without
building a new DLL to handle stuff).
Craig.
----------
From: Sven Karlsson[SMTP:sven@it.lth.se]
Sent: 23 June 1997 07:30
To: mint@atari.archive.umich.edu; falcon040@rand.thn.htu.se; w-users@phil.uni-sb.de; eonicman@erols.com
Cc: sven@it.lth.se; jens-and@NO.dsv.su.se
Subject: Re: [Fwd: Re: java virtual machine]
> Here is some info on how to make a virtual java machine from Craig
> Graham, the author of XaAES, our freeware MultiTOS replacement.
I might as well say this here and now:
There will be a JVM with JIT for Fenix. I'm currently working with a
group of Amiga programmers porting Sun's JVM to Amiga (and Atari).
We are using Sun's JVM sources but are rewriting a lot of the interpreter
and are adding a JIT. My responsibilities in this project are the JIT,
rewriting of the interpreter and the porting to Fenix.
Fenix's kernel has been designed with Java (and Limbo) in mind and there
is a OO dynamic linking scheme being designed so that native code can
be used simply in "Java" programs. This makes it possible to use Java
as a simple glue and script language for GUIs and other non performance
critical applications.
We have worked from time to time for over a year on this project and
have had working Amiga prototype versions for nearly a year. The JVM is
capable of running javac compiling javac ie itself.
I cannot say who the Amiga programmers are and why we are doing this at the
moment but it will be clear in a couple of months.
Regards Sven Karlsson - Istari software