[Mono-list] Re: could mono become a hybrid cil/java platform?

Zaphod j0k3rin@yahoo.co.in
Wed, 29 May 2002 14:36:30 +0530

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, May 29, 2002 at 09:47:46AM +0200, Ulf Ochsenfahrt wrote:
> The normal Java-Compilers do NOT produce this type of code - reusing local
> variables with different types.

Try compiling the attatched code with Kopi or Jikes (which I have on my box)
and try disassembling it ... (with jdasm of course). See the istore_0 and
lstore_0 in the same function ?

Language specs should be followed , not ignored or taken for granted ....
otherwise you'll find yourself tearing your hair when that app you wrote 
doesn't port well..... and it's fun debugging bytecode.

> The real problem is that Java-Code normally uses the Java API ....

That is *after* the bytecode has been correctly parsed ... I guess 
this discussion isn't doing mono any good ...... nor is mono going 
anywhere near Java (Miguel himself said that he started Mono because
he didn't like Java's "Give and Take" combo)....

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="x.java"

public class x
public static void Main()
    for(int i=0;i<10;i++)
    long j=10;