avatar
c*t
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.
avatar
st
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.

avatar
L*r
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.

avatar
c*t
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?
avatar
st
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

avatar
L*r
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

avatar
e*g
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。