If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Unfortunately there are not open source compiler for C++ to CIL. Nor are there any Java compier. There are a closed source C++ compiler that are not publicly available. Also there are a JVM for .NET.
IKVM.NET is a Free Software compiler which can compile Java bytecode into .NET bytecode, and execute Java bytecode directly using the system's .NET runtime (whether Microsoft.NET or Mono). It's based on OpenJDK's source.
directhex@dream:/tmp$ ikvm hello
directhex@dream:/tmp$ java hello
directhex@dream:/tmp$ ikvmc -target:exe hello.class
Note IKVMC0001: found main method in class "hello"
Note IKVMC0002: output file is "hello.exe"
directhex@dream:/tmp$ mono hello.exe
I believe that the majority of the resistance to C# adoption has little to do with the language, and much to do with MS. I like C# as much as I like Java. It makes writing middleware logic a breeze to the point where I can write and navigate code as I think. I feel that java is more desirable for non-gui applications and .Net is more desirable for GUI applications. I would love to see the stability of the mono runtime improve a bit, as I have had a couple bad experiences in the enterprise.
The entire patent argument may be moot, but is part of a larger fear. The fear is that somehow MS will find a way to screw us. They have done so in the past, they will do so in the future. I cannot help but feel a hefty amount of paranoia every time I see C# running on linux. Its uncomfortable and I don't like it.
I hope the author is right. I hope mono does great things for the linux desktop. I hope MS doesn't pull another SCO or some new trick.
In my case the resistance to C# are quite simple.
1. There are much more libraries and solutions to use when making a Java application. The Java framework by itself have a lot more stuff than .NET, throw in Java EE, Apache and the many other libs... C# does not come close to that.
2. Applets. C# cant be used in a browser. Moonlight was promising, but a dead project ain't gonna solve any problems.
MonoGames is promising, but unless it is integrated into Moonlight its not that interesting to us.
Rich Clients is the future. That means Applets (like Moonlight) and application servers (Like JBoss).
Exactly, Mono is far from complete or usable for a lot of use cases!
It's also perfectly complete and usable for a lot of use cases.
The ones who complain loudest about missing Windows-centric assemblies are the ones who insist that they're the most pure of Linux-only users (i.e. it's a bullshit excuse)
You should see how excited indie developers are about MonoGame opening up a world of new platforms for their XNA games. They don't sit & moan about WPF missing, they get on with things and bring more games to Linux.
WHERE are the Microsoft applications written in it?
WHY haven't they ported Word or Excel or IE or any other of their flagship programs?
Microsoft is CONSTANTLY pushing out patches to fix security issues in 20-year old C++ code.
You would THINK they would EAT THEIR OWN DOG FOOD and move to a more secure platform.
They fact that the HAVE NOT, is why you should RUN AWAY from the latest Microsoft programming "fad"
They sold "Active X" and "Silverlight" and "Visual Basic" as "solid professional application development environments, worthy of your development efforts" and then turned around and DEPRECATED THEM. They will DO THE SAME with C# and LEAVE YOU HIGH AND DRY.
If Microsoft doesn't trust C# with their PROFITABLE PRODUCTS then why should you? THEY know that C# is an another "fad"