[DGD] Java or LPC (DGD)?

Tavis Elliott tavise at nwlink.com
Sun Aug 17 03:43:41 CEST 2003


On Sun, 17 Aug 2003 02:44:21 +0300 (EEST), Sampsa Ranta 
<sampsa at netsonic.fi> wrote:

>
> [..snip..]
>
> + Java VM could be used to simulate DGD driver under special Classloader
> and compiler mapping the code to Java bytecode (maybe with proxies or
> direct bytecode to support multible inheritance) but not vice versa.
> DGD driver itself is smart but not too complex features to re-implement
> on as-is base. It seems it has been written under goal like "keep it
> simple". However such simulation would still have to be single threading
> if it is going to be 1:1 simulation.
> - DGD cannot simulate Java
>

To weigh in on the bytecode update issue (Java has also been my primary 
development language for quite some time) ... I would advise checking into 
the JDI interface for Java 1.4, there are mechanisms for runtime 
replacement of bytecodes that don't require horrendous fancy ClassLoader 
schemes.  Granted they are 'debug' interfaces, and there are still 
questions about introducing runtime problems, but they are easier than some 
of the solutions already discussed.

-Tavis
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list