Re: Alternative to JVM
- From: "toton" <abirbasak@xxxxxxxxx>
- Date: 19 Jul 2006 03:18:20 -0700
Andrew Reilly wrote:
On Wed, 19 Jul 2006 02:33:43 -0700, toton wrote:Thanks for the quick reply. I will look at LLVM. GCJ is too big to
Is there any alternative to JVM exists as research product, like a 2
address or 3 address instruction set VM ? Ofcourse it won't be able to
compile class file, but can run Java program with help of a different
compiler, which will compile Java to a 2-address / 3-address
instruction code based class. I am specially interested if some
compiler compiles Java to DLX processor...
I am not looking for a commercial product, even any research
implementation or a IEEE/ ACM paper will help me ...
The only one that I know of is a commercial product, sorry. Investigate
TAO's "Intent" platform (http://tao-group.com). Their VM is (or was, the
last time I looked) sort of three-register RISC-like, and they transcode
java, if you want that. They've been doing this since the early nineties.
You might also want to try telling GNU's GJC to compile for a MIPS (or
perhaps Knuth's MMIX) or PowerPC or similar target. Then all you need is
an appropriate simulator. Qemu might do that job OK for you.
There might also be some milage to be had in the LLVM (low level virtual
machine) infrastructure: (http://llvm.org). LLVM's home page doesn't
indicate that it supports Java at the moment, but since it's C and C++
front ends are somehow GCC-based, then maybe GJC wouldn't be too much of a
stretch.
Cheers,
--
Andrew
investigate it's code. Basically I was looking how to translate a
language grammer tree to a 2-address / 3-address instruction set. It is
not very difficult for stack machine, but creates some difficulty for a
2-address/3-address machine.
So I was looking for the detail. Most of the new VM's are coming as
stack machine (Java/ .NET etc), while most of the real machines are
2-address/3-address (except mobile/PDA etc). Thus JIT compilation is
little difficult as it needs to get transformed from stack ISA to these
formats. Also it looses certain information while it makes stack code
(.class files). So I was investigating how it can make a 2/3 address
class file from Parse Tree directly.
Again thanks for the reply.
abir
.
- Follow-Ups:
- Re: Alternative to JVM
- From: Thomas Hawtin
- Re: Alternative to JVM
- References:
- Alternative to JVM
- From: toton
- Re: Alternative to JVM
- From: Andrew Reilly
- Alternative to JVM
- Prev by Date: Re: Alternative to JVM
- Next by Date: Re: Alternative to JVM
- Previous by thread: Re: Alternative to JVM
- Next by thread: Re: Alternative to JVM
- Index(es):
Relevant Pages
|