c*****t 发帖数: 1879 | 1 Except a few base type differences, seemed that other than unsafe code,
everything else C# has can be implemented on JVM. Those includes
delegates, attributes, etc.
It would be interesting to see codes written in C# be compiled into
JVM and uses Java APIs. | st 发帖数: 1685 | 2 what's the advantage of doing this?
【在 c*****t 的大作中提到】 : Except a few base type differences, seemed that other than unsafe code, : everything else C# has can be implemented on JVM. Those includes : delegates, attributes, etc. : It would be interesting to see codes written in C# be compiled into : JVM and uses Java APIs.
| L*******r 发帖数: 1011 | 3 It's interesting and I think some one already begin to do that.
But I am not interested in that. I like Java but don't like the JVM design.
The design of dotnet is better. The only downside of dotnet is it was created
by M$.
【在 c*****t 的大作中提到】 : Except a few base type differences, seemed that other than unsafe code, : everything else C# has can be implemented on JVM. Those includes : delegates, attributes, etc. : It would be interesting to see codes written in C# be compiled into : JVM and uses Java APIs.
| c*****t 发帖数: 1879 | 4 1. to demonstrate that JVM support multiple source languages.
2. certain programming tasks are better suited with C#
3. although CLR can be portable, but only JVM is really ported to
most platforms. Java also have extensive libraries (such as graphics)
that are ready to use. Thus, people can programming in C# and take
advangage of JRE.
4. Maybe more convencing for people to go from Java to C# (or vice versa).
5. put pressure on Sun to improve Java faster.
etc etc
【在 st 的大作中提到】 : what's the advantage of doing this?
| st 发帖数: 1685 | 5 I dont see any of the following as advantage.
even including 3, what's advantage for c# with JRE? i only see disadvantage. :D
also some claimed to port C# runtime onto linux. :D
【在 c*****t 的大作中提到】 : 1. to demonstrate that JVM support multiple source languages. : 2. certain programming tasks are better suited with C# : 3. although CLR can be portable, but only JVM is really ported to : most platforms. Java also have extensive libraries (such as graphics) : that are ready to use. Thus, people can programming in C# and take : advangage of JRE. : 4. Maybe more convencing for people to go from Java to C# (or vice versa). : 5. put pressure on Sun to improve Java faster. : etc etc
| L*******r 发帖数: 1011 | 6
JVM is not designed for this purpose. If you study the design, you will find
out.
? I like C# and I like Java. But I don't like JVM. Sorry. I really lost my
patience with SUN.
Dotnet core is portable. Both mono and dotGNU proved that.
【在 c*****t 的大作中提到】 : 1. to demonstrate that JVM support multiple source languages. : 2. certain programming tasks are better suited with C# : 3. although CLR can be portable, but only JVM is really ported to : most platforms. Java also have extensive libraries (such as graphics) : that are ready to use. Thus, people can programming in C# and take : advangage of JRE. : 4. Maybe more convencing for people to go from Java to C# (or vice versa). : 5. put pressure on Sun to improve Java faster. : etc etc
| e***g 发帖数: 158 | 7 i saw a company doing it, a comercial .net platform on top of java
【在 c*****t 的大作中提到】 : Except a few base type differences, seemed that other than unsafe code, : everything else C# has can be implemented on JVM. Those includes : delegates, attributes, etc. : It would be interesting to see codes written in C# be compiled into : JVM and uses Java APIs.
|
|