Re: J# or C# which when ?



It does seem that Microsoft is leaving J# in the mix as a fully
supported language. There was an MSDN video somewhere detailing new J#
language features for .NET 2.0. I was surprised as I'd always believed
J# was just a migration tool.

But - J# is definitely not Java. Any language additions they've made
recently are not Java compatible. J# /can/ compile JDK 1.1 compatible
Java code, as well as older J++ code (JDK 1.1 plus MS extensions),
though there are some limitations (like no JNI support) on that -- but
J# is definitely married to the .NET platform and runtime.

It does present an interesting option of allowing a single codebase to
compile both to .NET and modern JVMs, if you're willing and able to
live within the constraints. IKVM is an open-source compiler that is a
good alternative to consider for supporting both Java and .NET
runtimes.

To sum up - I would not offer J# as an alternative IDE for a Java
course, it's not that. And I seriously doubt MS will produce a real
JVM, they arguably never really did in the first place.

.



Relevant Pages

  • Re: Help me!! Why java is so popular
    ... byte-coded language outperform a binary language if they are doing the ... Garbage collection can have an advantage in multi threaded applications, and in Java we can have exact c. ... In a compiled language you can't optimise across the interface call whereas with Java you can. ... Even better you can generate byte code at run time (e.g. compile an expression typed by the user) and then the JIT can compile that to machine code and if it is simple enough inline it. ...
    (comp.lang.java.programmer)
  • Re: Cpp Considered Harmful
    ... >> means of doing some of the things the CPP is currently used for. ... > syntax of #include for the language specified libraries. ... believe it would be trickier in C++ than in Java to accomplish what I'm ... there is often a need to compile a class before it can be ...
    (comp.lang.cpp)
  • Re: The curse of constant fields
    ... feature in the Java language, and decided to write up about it. ... Compile A.java if A.class is either absent or older than A.java. ... I meant that ant make rebuilding everything easy. ...
    (comp.lang.java.programmer)
  • Re: Languages with well-integrated Foreign Function Interface to learn from?
    ... C is a very useful language to be able to run as a scripting language, ... You don't need to support C code in your VM to achieve ... You can't statically compile ... Javascript to native code at all, ...
    (comp.compilers)
  • Re: question
    ... > As a language, C# it's like a cross between C++ and Java. ... Like Java, it needs an "interpreter" as we used to call ... Now there are several names for the things, and Microsoft calls ... etc. and compile to the CLR. ...
    (comp.lang.c.moderated)

Loading