[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Java compiler , more news
From: |
Gopal V |
Subject: |
Re: [DotGNU]Java compiler , more news |
Date: |
Sat, 26 Apr 2003 12:24:31 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, Rhys Weatherley wrote:
> > Also in case I forget , I am using __in__ and __out__ for the System.in
> > field for the java.lang class. Replace in assembly code with SED :-(.
> > Terribly uportable, I need Rhys's advice here.
>
> I assume that the problem is writing C# code that exports/uses the "in" and
> "out" definitions. And hassles occur because they are keywords in C#.
>
> The C# language already has a solution for this: use "@in" instead of "in".
> i.e. any keyword can be turned into a normal identifier by prefixing it with
> "@".
But that would messup the System.* resolution for C# ... finally I managed
to do the least craziest thing available -- moved it into Java :-)
> Fantastic! I was hoping that the CVM/unroller system would give reasonable
> performance comparable with JVM's, completely undoing the effect of the
> polymorphic IL instruction set. And this confirms it.
Like I said ... total execution time is not really about the interpreter
alone .. bytecode loading, library lookup , etc ... But anyway , it's the
goods .
Gopal
PS: uploading new patch with the class libs changes ... to same file
--
The difference between insanity and genius is measured by success