[Mono-list] Re: Welcome To "Mono-list"!

Tyson Dowd trd@cs.mu.OZ.AU
Tue, 10 Jul 2001 01:43:02 +1000


On 09-Jul-2001, Martin Coxall <martin.coxall@itouch.co.uk> wrote:
> > Here's a thought:  Microsoft is doing this whole "JUMP to .NET" thing,
> > which is basically a way to convert Java code to C#. From what little
> > experience I've had with C#, it looks in many ways *very* similar to Java. 
> > So why -can't- a .NET implementation of Java be viable?
> >
> > Just a random thought...
> 
> Simple answer: It can.
> 
> Better answer: Since C# is a slightly better language that Java, and C# 
> properly conforms to the CLS, whereas Java corresponds to the JLS, perhaps a 
> j2cs translator would be better?
> 
> I imagine it would be trivial(ish) to implement.

There are few technical obstacles, but you should be careful about the
legal obstacles because Sun has been known to sue people.

JUMP is not just Java -> C#.  IIRC it also does JVM bytecode to CIL and
Java to IL bytecode. 

-- 
       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd@cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #